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();
}