Skip to content

SetLightType ​

клиент SET_LIGHT_TYPE

c
void SET_LIGHT_TYPE(int lightType);

Change the light type of a already created light. Certain light type needs more configurations to work properly (Like direction, flags or size)

Параметры ​

  • lightType: The type of light
cpp
enum eLightType
{
    NOTHING = 0,
    POINT = 1,
    SPOT = 2,
    CAPSULE = 4,
    DIRECTION = 8,
    AO = 16,
}

Страница собрана автоматически из native-decls/SetLightType.md. Нашли ошибку — поправьте исходный файл.

Независимый проект на базе Cfx.re. Не связан с Rockstar Games и Take-Two Interactive.