Method GetSupportedLightUnits
GetSupportedLightUnits()
Get the list of supported light units depending on the current light type.
선언
public LightUnit[] GetSupportedLightUnits()
반환
타입 | 설명 |
---|---|
LightUnit[] |
GetSupportedLightUnits(HDLightType, SpotLightShape)
Give the supported lights unit for the given parameters
선언
public static LightUnit[] GetSupportedLightUnits(HDLightType type, SpotLightShape spotLightShape)
파라미터
타입 | 이름 | 설명 |
---|---|---|
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. |
반환
타입 | 설명 |
---|---|
LightUnit[] | Array of supported units |