-
Notifications
You must be signed in to change notification settings - Fork 227
Light
Adrien GIVRY edited this page Sep 26, 2020
·
3 revisions
Base class for any light
- C++ related class:
OvCore::ECS::Components::CLight
- Inherits from lua usertype:
Component
- Inherited by lua usertypes:
This usertype has no variables
Name | Input | Output | Description |
---|---|---|---|
new | Light |
Name | Input | Output | Description |
---|---|---|---|
GetColor |
Light : instance |
Vector3 |
Returns light color |
GetIntensity |
Light : instance |
number |
Returns light intensity |
SetColor |
Light : instanceVector3 : color |
Defines light color | |
SetIntensity |
Light : instancenumber : intensity |
Defines light intensity |
This usertype has no operators