Class IESMetaData
Common class to store metadata of an IES file
Inherited Members
Namespace: UnityEditor.Rendering
Assembly: Unity.RenderPipelines.Core.Editor.dll
Syntax
[Serializable]
public class IESMetaData
Fields
| Name | Description |
|---|---|
| ApplyLightAttenuation | Enable attenuation used for Spot recommanded to be true, particulary with large angle of "SpotAngle" (cf. Gnomonic Projection) |
| CookieCompression | Compression used to generate the texture (CompressedHQ by default (BC7)) |
| FileFormatVersion | Version of the IES File |
| IESMaximumIntensity | IES Max Intensity depends on the various information stored on the IES file |
| IESMaximumIntensityUnit | Unit used to measure the IESMaximumIntensity |
| IESPhotometricType | Total light intensity (in Lumens) stored on the file, usage of it is optional (through the prefab subasset inside the IESObject) |
| LampCatalogNumber | Lamp Catalog Number |
| LampDescription | Lamp Description |
| LightAimAxisRotation | Internally we use 2D projection, we have to choose one axis to project the IES propertly |
| LuminaireCatalogNumber | Luninaire Catalog Number |
| LuminaireDescription | Luminaire Description |
| Manufacturer | Manufacturer of the current IES file |
| PrefabLightType | Prefab Light Type (optional to generate the texture used by the renderer) |
| SpotAngle | Spot angle used for the Gnomonic projection of the IES. This parameter will be responsible of the pixel footprint in the 2D Texture https://en.wikipedia.org/wiki/Gnomonic_projection |
| UseIESMaximumIntensity | Enable max intensity for the texture generation |
| iesSize | IES Size of the texture used (same parameter for Point and Spot) |
Methods
| Name | Description |
|---|---|
| GetHashCode() | Get Hash describing an unique IES |