UxrGrabPointIndex Class
Enables nicer formatting of the grab point this shape is bound to in the editor. It will show strings like Main, Additional 0, Additional 1… etc. because there is an CustomPropertyDrawer for this class (see GrabPointIndexDrawer).
Inheritance Hierarchy
System.Object
UltimateXR.Manipulation.UxrGrabPointIndex
Namespace: UltimateXR.Manipulation
Assembly: UltimateXR (in UltimateXR.dll) Version: 0.0.0.0
Syntax
C#
[SerializableAttribute]
public class UxrGrabPointIndex
The UxrGrabPointIndex type exposes the following members.
Constructors
Name | Description | |
---|---|---|
UxrGrabPointIndex | Constructor. |
Methods
Name | Description | |
---|---|---|
GetIndexDisplayName | Gets the display name of a given grabbable object index. | |
GetIndexFromDisplayName | Gets the grab point index of a given display name. |
Operators
Name | Description | |
---|---|---|
Implicit(Int32 to UxrGrabPointIndex) | Converts from integer to UxrGrabPointIndex. | |
Implicit(UxrGrabPointIndex to Int32) | Converts from UxrGrabPointIndex to integer. |
Extension Methods
Name | Description | |
---|---|---|
ThrowIfNull | Throws an exception if the object is null. (Defined by ObjectExt.) |