Method GetSupportedLightUnits
GetSupportedLightUnits()
Get the list of supported light units depending on the current light type.
Declaration
public LightUnit[] GetSupportedLightUnits()
Returns
Type | Description |
---|---|
LightUnit[] |
GetSupportedLightUnits(HDLightType, SpotLightShape)
Give the supported lights unit for the given parameters
Declaration
public static LightUnit[] GetSupportedLightUnits(HDLightType type, SpotLightShape spotLightShape)
Parameters
Type | Name | Description |
---|---|---|
HDLightType | type | The type of the light |
SpotLightShape | spotLightShape | the shape of the spot.You can put anything in case it is not a spot light. |
Returns
Type | Description |
---|---|
LightUnit[] | Array of supported units |