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 public static Vertices CreateRectangle(
float hx,
float hy
)
Parameters
- hx
- Type: SystemSingle
the half-width. - hy
- Type: SystemSingle
the half-height.
Return Value
Type:
VerticesSee Also