-
Notifications
You must be signed in to change notification settings - Fork 276
SpotLight
Adrien GIVRY edited this page Sep 26, 2020
·
3 revisions
A light that is localized, has attenuation and has a direction
- C++ related class:
OvCore::ECS::Components::CSpotLight - Inherits from lua usertype:
Light
This usertype has no variables
| Name | Input | Output | Description |
|---|---|---|---|
| new | SpotLight |
| Name | Input | Output | Description |
|---|---|---|---|
| GetConstant |
SpotLight: instance |
number |
Returns the light constant |
| GetLinear |
SpotLight: instance |
number |
Returns the light linear |
| GetQuadratic |
SpotLight: instance |
number |
Returns the light quadratic |
| GetCutOff |
SpotLight: instance |
number |
Returns the light cutoff |
| GetOuterCutOff |
SpotLight: instance |
number |
Returns the light outercutoff |
| SetConstant |
SpotLight: instancenumber: constant |
||
| SetLinear |
SpotLight: instancenumber: linear |
Sets the light linear | |
| SetQuadratic |
SpotLight: instancenumber: quadratic |
Sets the light quadratic | |
| SetCutOff |
SpotLight: instancenumber: cutOff |
Sets the light cutoff | |
| SetOuterCutOff |
SpotLight: instancenumber: outerCutfOff |
Sets the light outercutoff |
This usertype has no operators
