searches the current version of every section · esc to close

Viewing this section as of v0.1.49 (tagged 2026-04-18). Go to current →

23 Embedding Type Object

An Embedding type object represents an artifact being placed in the scene.

Embedding type is define as

interface Embedding {
	artifact: Artifact // REQUIRED
    position: Coordinate // REQUIRED
    rotation: Euler // REQUIRED
    scale?: Scale //OPTIONAL
    properties?: EmbeddingProperties // OPTIONAL
}

where

  • artifact is REQUIRED, and its value MUST be of type Artifact.
  • position is REQUIRED, and its value MUST be of type Coordinate.
  • rotation is REQUIRED, and its value MUST be of type Euler.
  • scale is OPTIONAL, and its value MUST be of type Scale.
  • properties is OPTIONAL, and its value MUST be of type EmbeddingProperties. It stores data that modifies or enhances the placed artifact.

An Embedding type object represent an artifact been placed at position with rotation and scale, as defined in 21-Scene#21.03 Entity in the scene.