Import
ColorEnvironment is an addon, and must be imported explicitly, see Installation#Addons.
import { ColorEnvironment } from 'three/addons/environments/ColorEnvironment.js';
Constructor
new ColorEnvironment( color : number | Color )
Constructs a new color environment.
| color |
The color of the environment. Default is |
Methods
.dispose()
Frees internal resources. This method should be called when the environment is no longer required.