DIFF

class LightEntityCOMPONENT_SYSTEMSource

LightEntity GenericEntity IEntity Managed

All members, including inherited

Methods 8

proto native external void SetDiffuseColor(int color)COMPONENT_SYSTEM

Sets diffuse part of light.

color
Color of light
proto native external int GetDiffuseColor()COMPONENT_SYSTEM
proto native external void SetRadius(float radius)COMPONENT_SYSTEM
proto native external float GetRadius()COMPONENT_SYSTEM
proto native external void SetConeAngle(float angle)COMPONENT_SYSTEM

Sets cone of light. It's meaningful for LT_SPOT only!

angle
proto native external float GetConeAngle()COMPONENT_SYSTEM

Gets cone of light. It's meaningful for LT_SPOT only!

Returns: Cone of light

proto native external void SetCastShadow(bool enable)COMPONENT_SYSTEM
proto native external bool IsCastShadow(bool enable)COMPONENT_SYSTEM