Edit

Share via


CursorStateEnum Enum

Definition

Enum for current cursor state

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

Fields

Contextual 6

Allows for external override

Interact 2

IsHandDetected AND not IsPointerDown AND TargetedObject is NULL

InteractHover 3

IsHandDetected AND not IsPointerDown AND TargetedObject exists

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

Release 5

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

Select 4

IsHandDetected AND IsPointerDown

Applies to