Struct LightMaps
Represents a container for light maps.
Namespace: Unity.Rendering
Assembly: solution.dll
Syntax
public struct LightMaps : ISharedComponentData, IQueryTypeParameter
Fields
| Name | Description |
|---|---|
| colors | An array of color maps. |
| directions | An array of directional maps. |
| shadowMasks | An array of Shadow masks. |
Properties
| Name | Description |
|---|---|
| hasDirections | Indicates whether the container stores any directional maps. |
| hasShadowMask | Indicates whether the container stores any shadow masks. |
| isValid | Indicates whether the container stores any color maps. |
Methods
| Name | Description |
|---|---|
| ConstructLightMaps(List<Texture2D>, List<Texture2D>, List<Texture2D>) | Constructs a LightMaps instance from a list of textures for colors, direction lights, and shadow masks. |
| Equals(LightMaps) | Indicates whether the current object is equal to another object of the same type. |
| GetHashCode() | Calculates the hash code for this object. |