Edytuj

Udostępnij za pośrednictwem


CursorStateEnum Enum

Definition

Enum for current cursor state

public enum class CursorStateEnum
public enum CursorStateEnum
type CursorStateEnum = 
Public Enum CursorStateEnum
Inheritance
CursorStateEnum

Fields

Name Value Description
None -1

Useful for releasing external override. See CursorStateEnum.Contextual

Observe 0

Not IsHandDetected OR HasTeleportIntent

ObserveHover 1

Not IsHandDetected AND not IsPointerDown AND TargetedObject exists OR HasTeleportIntent AND Teleport Surface IsValid

Interact 2

IsHandDetected AND not IsPointerDown AND TargetedObject is NULL

InteractHover 3

IsHandDetected AND not IsPointerDown AND TargetedObject exists

Select 4

IsHandDetected AND IsPointerDown

Release 5

Available for use by classes that extend Cursor. No logic for setting Release state exists in the base Cursor class.

Contextual 6

Allows for external override

Applies to