Raymarcher Technical & APi Documentation
RM Core Render Master Lights
Namespace: Raymarcher.RendererData
The Raymarcher Render Master Lights is a crucial class responsible for managing all lights in a scene.
It efficiently handles the dispatching of existing lights and manages each light's unique data.

While it is strongly advised not to manipulate methods within the RM Render Master Lights class manually, as this is automatically handled internally,
you have the possibility to access all existing lights using properties and fields.

To access Raymarcher's lighting data, obtain a reference to RMRenderMaster and get the class reference with the name MasterLights:
myRenderMasterReference . MasterLights . (field/property);
Properties & Fields
// Current render master reference
public RMRenderMaster RenderMaster { get; }

// Main & add lights
public Light mainDirectionalLight;
public float mainDirectionalLightDamping;
public bool UseMainDirectionalLight { get; }

// List of currently cached additional (point) lights
public List<AdditionalLightData> AdditionalLightsCollection { get; set; }
public float addLightsDamping;
// Are add lights used?
public bool UseAdditionalLights { get; }
// Count of the currently using add lights
public int GetAdditionalLightsCompiledCount { get; }