Class RenderLightCollectionGroup
A list of RenderLightCollection for a particular type of light (direct light, direct light + shadows, environment lights).
public sealed class RenderLightCollectionGroup : IEnumerable<RenderLightCollection>, IEnumerable
- Inheritance
-
RenderLightCollectionGroup
- Implements
- Extension Methods
Properties
AllLights
Gets all the lights stored in this group.
public List<RenderLight> AllLights { get; }
Property Value
- List<RenderLight>
All lights.
AllLightsWithShadows
Gets the lights with shadows.
public List<RenderLight> AllLightsWithShadows { get; }
Property Value
- List<RenderLight>
The lights with shadows.
Count
Gets the number of RenderLightCollection stored in this group.
public int Count { get; }
Property Value
- int
The number of RenderLightCollection stored in this group.
this[int]
Gets the RenderLightCollection at the specified index.
public RenderLightCollection this[int index] { get; }
Parameters
index
intThe index.
Property Value
- RenderLightCollection
LightComponentCollection.
Exceptions
- ArgumentOutOfRangeException
index [{0}] out of range [0, {1}].ToFormat(index, lights.Count - 1)
LightType
Gets the light type this collection contains.
public Type LightType { get; }
Property Value
Methods
FindLightCollectionByGroup(RenderGroup)
Gets the light affecting a specific group.
public RenderLightCollection FindLightCollectionByGroup(RenderGroup group)
Parameters
group
RenderGroupThe group.
Returns
- RenderLightCollection
LightComponentCollection.
GetEnumerator()
public FastListStruct<RenderLightCollection>.Enumerator GetEnumerator()