![]() |
Dayz Explorer 1.28.160049
|
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) |
| enum LightFlags |
| proto HLIGHT AddLight | ( | IEntity | owner, |
| LightType | type, | ||
| LightFlags | flags, | ||
| float | radius, | ||
| vector | color ) |
creates light
| proto native int ClearLightFlags | ( | HLIGHT | light, |
| LightFlags | flags ) |
scene light multiplier (based on measured scene light levels) - pre-exposure of light
Sets light cone in degrees (for LightType.SPOT).
| proto native int SetLightFlags | ( | HLIGHT | light, |
| LightFlags | flags ) |