Wowpedia

We have moved to Warcraft Wiki. Click here for information and the new URL.

READ MORE

Wowpedia
Advertisement

Needs summary.

enabled, light = Model:GetLight()

Returns[]

enabled
boolean - Appears to be true for lit and false for unlit.
light
ModelLight
Field Type Description
omnidirectional boolean? = false If the light is omnidirectional [lighting in all directions].
point vector3🔗 Vector from the origin to where the light source should face.
If this light is omnidirectional then point refers to a position, otherwise it refers to a direction.
ambientIntensity number? = 0 Intensity of the ambient component of the light source.
ambientColor colorRGB?🔗 Color of the ambient component of the light source (0-1).
diffuseIntensity number? = 0 Intensity of the direct component of the light source.
diffuseColor colorRGB?🔗 Color of the direct component of the light source (0-1).
Advertisement