Table of Contents

Class Light3DChunk

Namespace
LibGFX.Graphics.Lights
Assembly
LibGFX.dll

Represents a chunk of lights in the scene.

public class Light3DChunk : ISerialization
Inheritance
Light3DChunk
Implements
Inherited Members

Constructors

Light3DChunk()

Initializes a new instance of the Light3DChunk class with an empty collection of point lights.

public Light3DChunk()

Properties

Lights

Gets or sets the collection of point lights used in the 3D scene.

public List<PointLight3D> Lights { get; set; }

Property Value

List<PointLight3D>

Methods

Deserialize(JObject, SerializationContext, Func<JObject, bool>)

Populates the current object with values from the specified JSON object.

public void Deserialize(JObject obj, SerializationContext serializationContext, Func<JObject, bool> callback = null)

Parameters

obj JObject
serializationContext SerializationContext
callback Func<JObject, bool>

Serialize(JsonWriter, SerializationContext, Action<JsonWriter>)

Serializes the current object to a new JSON object representation.

public void Serialize(JsonWriter writer, SerializationContext serializationContext, Action<JsonWriter> callback = null)

Parameters

writer JsonWriter
serializationContext SerializationContext
callback Action<JsonWriter>