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

NameDescription
Public methodUxrGrabPointIndex Constructor.

Methods

NameDescription
Public methodStatic memberGetIndexDisplayName Gets the display name of a given grabbable object index.
Public methodStatic memberGetIndexFromDisplayName Gets the grab point index of a given display name.

Operators

NameDescription
Public operatorStatic memberImplicit(Int32 to UxrGrabPointIndex) Converts from integer to UxrGrabPointIndex.
Public operatorStatic memberImplicit(UxrGrabPointIndex to Int32) Converts from UxrGrabPointIndex to integer.

Extension Methods

NameDescription
Public Extension MethodThrowIfNull Throws an exception if the object is null. (Defined by ObjectExt.)

See Also

Reference

UltimateXR.Manipulation Namespace