編集

次の方法で共有


PointerBehavior Enum

Definition

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.

Applies to