Click or drag to resize

CanvasRendererAddQuad Method (RectangleF, RectangleF, ImageComponent, ColorValue)

Adds quad to rendering queue.

Namespace:  NeoAxis
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax
C#
public void AddQuad(
	RectangleF rectangle,
	RectangleF textureCoordRectangle,
	ImageComponent texture,
	ColorValue color
)

Parameters

rectangle
Type: NeoAxisRectangleF
The quad rectangle.
textureCoordRectangle
Type: NeoAxisRectangleF
The texture coordinates.
texture
Type: NeoAxisImageComponent
The quad texture or null.
color
Type: NeoAxisColorValue
The quad color.
See Also