Method IsValidLightUnitForType
IsValidLightUnitForType(HDLightType, SpotLightShape, LightUnit)
Check if the given type is supported by this type and shape.
선언
public static bool IsValidLightUnitForType(HDLightType type, SpotLightShape spotLightShape, LightUnit unit)
파라미터
| 타입 | 이름 | 설명 | 
|---|---|---|
| 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 | unit | The unit to check  | 
    
반환
| 타입 | 설명 | 
|---|---|
| bool | True: this unit is supported  |