|
DayZ 1.24
|
Topics | |
| Trace&Visibility API | |
Typedefs | |
| typedef int[] | HLIGHT |
| Light handle. | |
Enumerations | |
| enum | LightType { POINT , SPOT , DIRECTIONAL , AMBIENT } |
| enum | LightFlags { DYNAMIC , CASTSHADOW , CHEAP } |
Functions | |
| proto HLIGHT | AddLight (IEntity owner, LightType type, LightFlags flags, float radius, vector color) |
| proto native bool | RemoveLight (HLIGHT light) |
| removes light | |
| proto native bool | SetLightEx (HLIGHT light, float radius, vector color) |
| proto native bool | SetLightTexture (HLIGHT light, string cubemap) |
| sets lookup texture for projection lights | |
| proto native int | SetLightFlags (HLIGHT light, LightFlags flags) |
| proto native int | ClearLightFlags (HLIGHT light, LightFlags flags) |
| proto native bool | SetLightCone (HLIGHT light, float cone) |
| Sets light cone in degrees (for LightType.SPOT). | |
| proto native float | GetSceneHDRMul (int camera) |
Definition at line 129 of file EnWorld.c.
| Enumerator | |
|---|---|
| POINT | |
| SPOT | |
| DIRECTIONAL | |
| AMBIENT | |
| proto HLIGHT AddLight | ( | IEntity | owner, |
| LightType | type, | ||
| LightFlags | flags, | ||
| float | radius, | ||
| vector | color ) |
creates light
| proto native int ClearLightFlags | ( | HLIGHT | light, |
| LightFlags | flags ) |
scene multiplicator of light (based on measured scene light levels) - preexposure of light
Referenced by GameplayEffectWidgets_base::CalculateBreathEffect().
Sets light cone in degrees (for LightType.SPOT).
| proto native int SetLightFlags | ( | HLIGHT | light, |
| LightFlags | flags ) |