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