Прочетете на английски Редактиране

Споделяне чрез


InteractableStates.InteractableStateEnum Enum

Definition

List of valid state types for Interactable

C++
public: enum class InteractableStates::InteractableStateEnum
Inheritance
InteractableStates.InteractableStateEnum

Fields

Name Value Description
Default 0

Default state, nothing happening

Focus 1

Looking at object

Pressed 2

Looking at object and finger down

Targeted 3

Looking at and finger up

Interactive 4

Not looking at it and finger is up

ObservationTargeted 5

Looking at button finger down

Observation 6

Not looking at it and finger down

Disabled 7

Button in a disabled state

Visited 8

Button was clicked already

Toggled 9

Button is toggled state, on/off

Gesture 10

Gesture is happening, Move

GestureMax 11

Gesture has reached its max movement

Collision 12

There is a collision

VoiceCommand 13

Voice command happened

PhysicalTouch 14

Interactable is currently physically touched

Grab 15

Interactable was grabbed, near interaction grabbable

Custom 16

Custom placeholder for anything

Applies to

Продукт Версии
MRTK2 Unity 2018 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0
MRTK2 Unity 2019 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0
MRTK2 Unity 2020 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0