UxrGrabbableObject.UsesGrabbableParentDependency Property

Gets whether the object has a parent dependency (HasGrabbableParentDependency is true) and is using it through _ignoreGrabbableParentDependency in the inspector.

When a grabbable object that has position/rotation constraints hangs from a hierarchy where another grabbable object is somewhere above, the child grabbable object can either be:  

  • Dependent (_ignoreGrabbableParentDependency is false): The object is considered as another part of the parent grabbable object. It will be constrained by its parent object and can optionally also control the parent’s direction when both are being grabbed.
  • Independent (_ignoreGrabbableParentDependency is true): The object is considered as a separate entity where it just happens to be placed under the hierarchy.
  Namespace: UltimateXR.Manipulation
Assembly: UltimateXR (in UltimateXR.dll) Version: 0.0.0.0

Syntax

C#

public bool UsesGrabbableParentDependency { get; }

Property Value

Type: Boolean

See Also

Reference

UxrGrabbableObject Class
UltimateXR.Manipulation Namespace