Skip to content
Select language:English

ARDK 1.5.6

Represents the current anchoring state of the coordinate system based on detected fiducial markers.

The HookState enum identifies how many valid markers are currently being tracked and therefore how stable or accurate the coordinate anchoring is.

Entries

No markers are detected or viable as a hook.

A single marker is detected; partial hooking is available but may be less stable.

Two markers are detected; the coordinate system is fully hooked and stable.

Properties

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Inherited properties

expect val name: String
expect val ordinal: Int

Functions

fun valueOf(value: String): HookState

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Returns an array containing the constants of this enum type, in the order they're declared.