The TVLightEngine class provides the methods for controlling the way light is used in a scene.
VB.NET
' TV Variables Public Lights As TVLightEngine ' Create new TVLightEngine Object Lights = New TVLightEngine
C++
//todo
| Method | Description |
|---|---|
| CreateDirectionalLight | Creates a new directional light. |
| CreateLight | Short description of CreateLight |
| CreatePointLight | Short description of CreatePointLight |
| CreateSpotLight | Short description of CreateSpotLight |
| DeleteAllLights | Short description of DeleteAllLights |
| DeleteLight | Short description of DeleteLight |
| EnableLight | Short description of EnableLight |
| GetActiveCount | Short description of GetActiveCount |
| GetBumpLightProperties | Short description of GetBumpLightProperties |
| GetCount | Short description of GetCount |
| GetIndex | Short description of GetIndex |
| GetLight | Short description of GetLight |
| GetLightFromName | Short description of GetLightFromName |
| GetLightName | Short description of GetLightName |
| GetLightProperties | Short description of GetLightProperties |
| IsLightActive | Short description of IsLightActive |
| IsLightEnabled | Short description of IsLightEnabled |
| SetBumpLightProperties | Short description of SetBumpLightProperties |
| SetGlobalAmbient | Use SetGlobalAmbient to set the Ambient intensity of the light. |
| SetIndex | Short description of SetIndex |
| SetLight | Short description of SetLight |
| SetLightAmbientColor | Short description of SetLightAmbientColor |
| SetLightAttenuation | Short description of SetLightAttenuation |
| SetLightColor | Short description of SetLightColor |
| SetLightCubeMap | Short description of SetLightCubeMap |
| SetLightDiffuseColor | Short description of SetLightDiffuseColor |
| SetLightDirection | Short description of SetLightDirection |
| SetLightPosition | Short description of SetLightPosition |
| SetLightProperties | Short description of SetLightProperties |
| SetLightRange | Short description of SetLightRange |
| SetLightSpecularColor | Short description of SetLightSpecularColor |
| SetLightSpotAngles | Short description of SetLightSpotAngles |
| SetLightSpotFalloff | Short description of SetLightSpotFalloff |
| SetLightType | Short description of SetLightType |
| SetProjectiveShadowsProperties | Short description of SetProjectiveShadowsProperties |
| SetSpecularLighting | Sets the specular light to True. |