Preparing search index...

    Entity that carries a spatial transform, representing position, rotation, and scale in the scene.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    id: Uuid

    The unique id of the entity.

    meta: Meta

    Metadata associated with this entity, providing access to its unique identifier and other descriptive properties.

    position: vec3

    World or local position of the entity as a vec3.

    rotation: vec3

    World or local rotation of the entity as Euler angles vec3.

    scale: vec3

    World or local scale of the entity as a vec3.

    type: string

    The entity's type.

    Methods

    • Returns true if the object is of the specified type.

      Parameters

      • type: string

      Returns boolean