Entity: {
    active: boolean;
    aimable: boolean;
    clickable: boolean;
    collidable: boolean;
    color: Color;
    id: number;
    playHaptic: boolean;
    position: Position;
    primitive: PrimitiveType;
    rotation: Rotation;
    scale: Scale;
}

Represents an entity in the Endymion system.

Type declaration

  • active: boolean

    define if entity is active

  • aimable: boolean

    define if entity is aimable

  • clickable: boolean

    define if entity is clickable

  • collidable: boolean

    define if entity interact with collisions

  • color: Color

    define entity color

  • id: number

    The unique identifier of the entity.

  • playHaptic: boolean

    define if on entity interaction haptic is acticve

  • position: Position

    The position of the entity in 3D space.

  • primitive: PrimitiveType

    The primitive shape of the entity.

  • rotation: Rotation

    The rotation of the entity in 3D space.

  • scale: Scale

    The scale of the entity in 3D space.

Generated using TypeDoc