DirectionalLight constructor
DirectionalLight(
- dynamic color, [
- double? intensity
Implementation
DirectionalLight(color, [double? intensity]) : super(color, intensity) {
type = "DirectionalLight";
position.copy(Object3D.defaultUp);
updateMatrix();
target = Object3D();
shadow = DirectionalLightShadow();
}