new MapLightGroup()
private.
private
Members
-
ambientLights :Array.<MapAmbientLight>
环境光
-
-
directionalLights :Array.<MapDirectionalLight>
平行光
-
-
helperVisible :Boolean
辅助线是否可见
-
-
hemisphereLights :Array.<MapHemisphereLight>
半球光
-
-
spotLights :Array.<MapSpotLight>
聚光灯
-
-
visible :Boolean
是否可见
-
Methods
-
getLights() → {Array.<BaseMapLight>}
获取所有的灯光
-
Returns:
Array.<BaseMapLight> -
setConfig(param, directionalLights, spotLights, hemisphereLights, ambientLights)
-
Parameters:
Name Type Description param
Object directionalLights
Array.<MapDirectionalLight> 平行光 spotLights
Array.<MapSpotLight> 聚光灯 hemisphereLights
Array.<MapHemisphereLight> 半球光 ambientLights
Array.<MapAmbientLight> 环境光