Skip to Content
APIConfigurationInterface: Rotation3D

Interface: Rotation3D

Euler-style rotation for 3D model configuration.

All angles are expressed in degrees (e.g. 90, 180) so common orientations are easy to author. The map runtime must convert to radians (e.g. for Three.js) when applying rotations.

Properties

pitch?

optional pitch?: number;

Rotation around the lateral axis (tilt), in degrees.


roll?

optional roll?: number;

Rotation around the longitudinal axis (bank), in degrees.


yaw?

optional yaw?: number;

Rotation around the vertical axis (heading), in degrees.

Last updated on