Class TrackableTypeExtensions
Extension methods for TrackableType.
Inherited Members
Namespace: UnityEngine.XR.ARSubsystems
Assembly: Unity.XR.ARSubsystems.dll
Syntax
public static class TrackableTypeExtensions
Properties
allPlaneTypes
The bitwise combination of every plane sub-type flag (for example, PlaneWithinPolygon and PlaneWithinBounds, etc).
Declaration
public static TrackableType allPlaneTypes { get; }
Property Value
| Type | Description |
|---|---|
| TrackableType |
Methods
IsPlane(TrackableType)
Determines whether trackableType refers to, or includes, any plane type.
Declaration
public static bool IsPlane(this TrackableType trackableType)
Parameters
| Type | Name | Description |
|---|---|---|
| TrackableType | trackableType | The trackable type or type mask to test. |
Returns
| Type | Description |
|---|---|
| bool | true if |