Click or drag to resize

PolygonToolsCreateRectangle(Single, Single) Method

Build vertices to represent an axis-aligned box.

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

Parameters

hx  Single
the half-width.
hy  Single
the half-height.

Return Value

Vertices
See Also