-
Notifications
You must be signed in to change notification settings - Fork 234
PointLight
Adrien GIVRY edited this page Sep 26, 2020
·
3 revisions
A light that is localized and has attenuation
- C++ related class:
OvCore::ECS::Components::CPointLight
- Inherits from lua usertype:
Light
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