Class IESMetaData
Common class to store metadata of an IES file
Inherited Members
Namespace: UnityEditor.Rendering
Syntax
[Serializable]
public class IESMetaDataFields
ApplyLightAttenuation
Enable attenuation used for Spot recommanded to be true, particulary with large angle of "SpotAngle" (cf. Gnomonic Projection)
Declaration
public bool ApplyLightAttenuationField Value
| Type | Description | 
|---|---|
| Boolean | 
CookieCompression
Compression used to generate the texture (CompressedHQ by default (BC7))
Declaration
public TextureImporterCompression CookieCompressionField Value
| Type | Description | 
|---|---|
| TextureImporterCompression | 
FileFormatVersion
Version of the IES File
Declaration
public string FileFormatVersionField Value
| Type | Description | 
|---|---|
| String | 
IESMaximumIntensity
IES Max Intensity depends on the various information stored on the IES file
Declaration
public float IESMaximumIntensityField Value
| Type | Description | 
|---|---|
| Single | 
IESMaximumIntensityUnit
Unit used to measure the IESMaximumIntensity
Declaration
public string IESMaximumIntensityUnitField Value
| Type | Description | 
|---|---|
| String | 
IESPhotometricType
Total light intensity (in Lumens) stored on the file, usage of it is optional (through the prefab subasset inside the IESObject)
Declaration
public string IESPhotometricTypeField Value
| Type | Description | 
|---|---|
| String | 
iesSize
IES Size of the texture used (same parameter for Point and Spot)
Declaration
public IESResolution iesSizeField Value
| Type | Description | 
|---|---|
| IESResolution | 
LampCatalogNumber
Lamp Catalog Number
Declaration
public string LampCatalogNumberField Value
| Type | Description | 
|---|---|
| String | 
LampDescription
Lamp Description
Declaration
public string LampDescriptionField Value
| Type | Description | 
|---|---|
| String | 
LightAimAxisRotation
Internally we use 2D projection, we have to choose one axis to project the IES propertly
Declaration
[Range(-180F, 180F)]
public float LightAimAxisRotationField Value
| Type | Description | 
|---|---|
| Single | 
LuminaireCatalogNumber
Luninaire Catalog Number
Declaration
public string LuminaireCatalogNumberField Value
| Type | Description | 
|---|---|
| String | 
LuminaireDescription
Luminaire Description
Declaration
public string LuminaireDescriptionField Value
| Type | Description | 
|---|---|
| String | 
Manufacturer
Manufacturer of the current IES file
Declaration
public string ManufacturerField Value
| Type | Description | 
|---|---|
| String | 
PrefabLightType
Prefab Light Type (optional to generate the texture used by the renderer)
Declaration
public IESLightType PrefabLightTypeField Value
| Type | Description | 
|---|---|
| IESLightType | 
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
Declaration
[Range(1F, 179F)]
public float SpotAngleField Value
| Type | Description | 
|---|---|
| Single | 
UseIESMaximumIntensity
Enable max intensity for the texture generation
Declaration
public bool UseIESMaximumIntensityField Value
| Type | Description | 
|---|---|
| Boolean | 
Methods
GetHashCode()
Get Hash describing an unique IES
Declaration
public override int GetHashCode()Returns
| Type | Description | 
|---|---|
| Int32 | The Hash of the IES Object |