SpherePointer.IsInteractionEnabled Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Test if the pointer is within the grabbable radius of collider that's both on a grabbable layer mask, and has a NearInteractionGrabbable. Uses SphereCastRadius to determine if near an object. Note: if focus on pointer is locked, will always return true.
public:
virtual property bool IsInteractionEnabled { bool get(); };
public override bool IsInteractionEnabled { get; }
member this.IsInteractionEnabled : bool
Public Overrides ReadOnly Property IsInteractionEnabled As Boolean
Property Value
True if the pointer is within the grabbable radius of collider that's both on a grabbable layer mask, and has a NearInteractionGrabbable.