Click or drag to resize

CanvasRendererAddQuad Method (Rectangle, Rectangle, ImageComponent, ColorValue, Boolean)

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,
	bool clamp
)

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.
clamp
Type: SystemBoolean
The texture clamp.
See Also