WorldAnchor

Represents a world anchor with a unique identifier (UUID), name, position, and rotation.

This class is used to define an anchor in a 3D space with a specific position and orientation. Each anchor is assigned a UUID, which ensures its uniqueness within the application. You can utilize UUIDs to reload or manage anchors across application sessions as needed.

Properties

Link copied to clipboard
val anchorUUID: UUID

The UUID of the anchor, which ensures that each anchor is unique and identifiable within the application.

Link copied to clipboard
val name: String

The name of the anchor, which can be used to identify or categorize the anchor.

Link copied to clipboard

The transform of the anchor, including its position, rotation, and scale. The default scale is always set to Vector3(1f, 1f, 1f).

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String