API reference

Utilities Class

Public Statics

static readonly float Sqrt2[Get]
static readonly float InvSqrt2[Get]

Static Member Functions

static ? Bounds GetPrefabBounds
( GameObject prefab )
Gets the name of an anchor based on its semantic classification.
Parameters
anchorData
The Data.AnchorData object representing the anchor.
Returns
The name of the anchor, or "UNDEFINED_ANCHOR" if no semantic classification is available.
Replacement for LINQ.
static bool IsPositionInPolygon
( Vector2 position,
List< Vector2 > polygon )
Did you find this page helpful?
Thumbs up icon
Thumbs down icon