PointerBehavior Enum
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.
Specifies how a pointer in MRTK's default input system behaves.
public enum class PointerBehavior
public enum PointerBehavior
type PointerBehavior =
Public Enum PointerBehavior
- Inheritance
-
PointerBehavior
Fields
AlwaysOff | 2 | Pointer is always off, regardless of what other pointers are active. |
AlwaysOn | 1 | Pointer is always on, regardless of what other pointers are active. |
Default | 0 | Pointer active state is managed by MRTK input system. If it is a near pointer (grab, poke), it will be always enabled. If it is not a near pointer, it will get disabled if any near pointer on the same hand is active. This is what allows rays to turn off when a hand is near a grabbable. |