class LightEntityCOMPONENT_SYSTEMSource
LightEntity › GenericEntity › IEntity › Managed
All members, including inherited
Methods 8
proto native external void SetDiffuseColor(int color)COMPONENT_SYSTEMSets diffuse part of light.
color- Color of light
proto native external int GetDiffuseColor()COMPONENT_SYSTEMproto native external void SetRadius(float radius)COMPONENT_SYSTEMproto native external float GetRadius()COMPONENT_SYSTEMproto native external void SetConeAngle(float angle)COMPONENT_SYSTEMSets cone of light. It's meaningful for LT_SPOT only!
angle
proto native external float GetConeAngle()COMPONENT_SYSTEMGets cone of light. It's meaningful for LT_SPOT only!
Returns: Cone of light
proto native external void SetCastShadow(bool enable)COMPONENT_SYSTEMproto native external bool IsCastShadow(bool enable)COMPONENT_SYSTEM