編輯

共用方式為


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

Name Value Description
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.

AlwaysOn 1

Pointer is always on, regardless of what other pointers are active.

AlwaysOff 2

Pointer is always off, regardless of what other pointers are active.

Applies to