Click or drag to resize

PolygonToolsCreateRectangle Method (Single, Single)

Build vertices to represent an axis-aligned box.

Namespace:  Internal.tainicom.Aether.Physics2D.Common
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax
C#
public static Vertices CreateRectangle(
	float hx,
	float hy
)

Parameters

hx
Type: SystemSingle
the half-width.
hy
Type: SystemSingle
the half-height.

Return Value

Type: Vertices
See Also