Beispiel #1
0
 public SpotLight3JS(Light3JS light)
 {
     uuid      = light.uuid;
     name      = light.name;
     matrix    = light.matrix;
     color     = light.color;
     intensity = light.intensity;
     type      = LightType.SpotLight;
 }
Beispiel #2
0
 public DirectionalLight3JS(Light3JS light)
 {
     uuid      = light.uuid;
     name      = light.name;
     matrix    = light.matrix;
     color     = light.color;
     intensity = light.intensity;
     type      = LightType.DirectionalLight;
 }