Click or drag to resize

CanvasRendererAddQuad Method (Rectangle, Rectangle, 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(
	Rectangle rectangle,
	Rectangle textureCoordRectangle,
	ImageComponent texture,
	ColorValue color
)

Parameters

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