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
artifactis REQUIRED, and its value MUST be of typeArtifact.positionis REQUIRED, and its value MUST be of typeCoordinate.rotationis REQUIRED, and its value MUST be of typeEuler.scaleis OPTIONAL, and its value MUST be of typeScale.propertiesis OPTIONAL, and its value MUST be of typeEmbeddingProperties. 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.