-
Notifications
You must be signed in to change notification settings - Fork 285
PointLight
Adrien GIVRY edited this page Sep 23, 2020
·
3 revisions
A light that is localized and has attenuation
- Inherits from:
CLight - C++ related class:
CPointLight - Lua usertype name:
PointLight
This usertype has no variables
| Name | Input | Output | Description |
|---|---|---|---|
| new | PointLight |
| Name | Input | Output | Description |
|---|---|---|---|
| GetConstant |
PointLight: instance |
number |
Returns the light constant |
| GetLinear |
PointLight: instance |
number |
Returns the light linear |
| GetQuadratic |
PointLight: instance |
number |
Returns the light quadratic |
| SetConstant |
PointLight: instancenumber: constant |
Sets the light constant | |
| SetLinear |
PointLight: instancenumber: linear |
Sets the light linear | |
| SetQuadratic |
PointLight: instancenumber: quadratic |
Sets the light quadratic |
This usertype has no operators