Class HDLightTypeExtension
Extension class for the HDLightTypeAndShape type.
Inheritance
HDLightTypeExtension
Assembly: Unity.RenderPipelines.HighDefinition.Runtime.dll
Syntax
public static class HDLightTypeExtension
Methods
IsArea(LightType)
Returns true if the light type is an area light
Declaration
public static bool IsArea(this LightType type)
Parameters
Type |
Name |
Description |
LightType |
type |
|
Returns
IsSpot(LightType)
Returns true if the light type is a spot light
Declaration
public static bool IsSpot(this LightType type)
Parameters
Type |
Name |
Description |
LightType |
type |
|
Returns
SupportsBakedOnly(LightType)
Returns true if the light type can be used for baking
Declaration
public static bool SupportsBakedOnly(this LightType type)
Parameters
Type |
Name |
Description |
LightType |
type |
|
Returns
SupportsMixed(LightType)
Returns true if the light type can be used in mixed mode
Declaration
public static bool SupportsMixed(this LightType type)
Parameters
Type |
Name |
Description |
LightType |
type |
|
Returns
SupportsRuntimeOnly(LightType)
Returns true if the light type can be used for runtime lighting
Declaration
public static bool SupportsRuntimeOnly(this LightType type)
Parameters
Type |
Name |
Description |
LightType |
type |
|
Returns