UxrManipulationEventArgs Class

Event parameters for most manipulation events: UxrGrabManager:  

  UxrGrabbableObject:    UxrGrabbableObjectAnchor:  

Inheritance Hierarchy

System.Object
  System.EventArgs
    UltimateXR.Manipulation.UxrManipulationEventArgs
Namespace: UltimateXR.Manipulation
Assembly: UltimateXR (in UltimateXR.dll) Version: 0.0.0.0

Syntax

C#

public class UxrManipulationEventArgs : EventArgs


The UxrManipulationEventArgs type exposes the following members.

Constructors

NameDescription
Public methodUxrManipulationEventArgs Constructor.

Properties

NameDescription
Public propertyGrabbableAnchor Gets the grabbable object anchor related to the event. Can be null if the event doesn’t use this property. Check the event documentation to see how the property is used.
Public propertyGrabbableObject Gets the grabbable object related to the event. Can be null if the event doesn’t use this property. Check the event documentation to see how the property is used.
Public propertyGrabber Gets the grabber related to the event. Can be null if the event doesn’t use this property. Check the event documentation to see how the property is used.
Public propertyGrabPointIndex Gets the grabbable object’s grab point index related to the event. Can be meaningless if the event doesn’t use this property. Check the event documentation to see how the property is used.
Public propertyIsMultiHands Gets whether the manipulation used more than one hand. Can be meaningless if the event doesn’t use this property. Check the event documentation to see how the property is used.
Public propertyIsOwnershipChanged Gets whether the manipulation changed an object’s ownership. This is if IsMultiHands and IsSwitchHands are both false. This is useful to filter events that should be processed only if an object switched from belonging to an avatar to not belonging anymore or vice-versa, ignoring events where the object was already in the hands of an avatar and is just switching hands or being grabbed with more than one hand.
Public propertyIsSwitchHands Gets whether the event was the result of passing the object from one hand to the other. Can be meaningless if the event doesn’t use this property. Check the event documentation to see how the property is used.
Public propertyPlacementType Gets the placement type in place events.
Public propertyReleaseAngularVelocity Gets the release angular velocity for release events.
Public propertyReleaseVelocity Gets the release velocity for release events.

Extension Methods

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

See Also

Reference

UltimateXR.Manipulation Namespace