Skip to content

class VobLight (client-side)

Available since version: 0.3.3.4

Note

You can only create dynamic lights in scripts, because static lights are baked into the ZEN world.

This class represents 3d light source point in the world.

Constructor

VobLight(string model)

Parameters:

  • string model: the model name to be used as visual.

Constructor

VobLight(userpointer ptr)

Parameters:

  • userpointer ptr: the pointer to the object from the game.

Properties

string lightPreset

Represents the currently used light preset name from LightPresets.zen file (located in _Work/Data/Presets/).


VobLightData& lightData

Represents the light data.


Methods

No methods.


Callbacks

No callbacks.