rotateEnvironmentMap
Last updated
Rotates the HDRI environment map.
rotateEnvironmentMap(degrees: number): Promise<void>degrees
number
Yes
Rotation angle in degrees
Promise<void>
// Rotate 90 degrees
await api.rotateEnvironmentMap(90);
// Rotate 180 degrees
await api.rotateEnvironmentMap(180);Affects the lighting and reflections in the scene
Value is absolute rotation, not relative
Last updated