Skip to main content

Type Alias: VideoLayerPlacement

VideoLayerPlacement = object

Defined in: src/layers/VideoLayer.ts:11

How a video should sit in the world.

A quad layer is positioned by the compositor rather than by the scene graph, so it needs its pose given explicitly rather than inherited from a parent.

Properties​

height?​

optional height: number

Defined in: src/layers/VideoLayer.ts:19

Height in metres. Derived from the video's aspect when omitted.


position?​

optional position: THREE.Vector3

Defined in: src/layers/VideoLayer.ts:13

Where the centre of the quad sits, in the reference space.


quaternion?​

optional quaternion: THREE.Quaternion

Defined in: src/layers/VideoLayer.ts:15

How the quad is oriented.


width?​

optional width: number

Defined in: src/layers/VideoLayer.ts:17

Width in metres.