Class Light3DChunk
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
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
objJObjectserializationContextSerializationContextcallbackFunc<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
writerJsonWriterserializationContextSerializationContextcallbackAction<JsonWriter>