Ejemplo n.º 1
0
 /// <summary>
 /// Loads a light source to the specified slot, or to the next available slot.
 /// </summary>
 /// <param name="parameters">New params of the light source we wish to load</param>
 /// <param name="slot">Slot we want to load the light into, if -1 chooses the next available slot.</param>
 /// <returns>The slot where the light source was loaded, or -1 if loading failed.</returns>
 public int LoadLight(LightParams parameters, int slot = 1)
 {
     return(NativeEntityMethods.LoadLight(this.GetIEntity(), slot, parameters));
 }