Struct ShaderInput.LightData
Inherited Members
Namespace: UnityEngine.Rendering.Universal
Syntax
[GenerateHLSL(PackingRules.Exact, false, false, false, 1, false, false, false, -1, "C:\\temp\\com.unity.render-pipelines.universal@13.0\\Packages\\com.unity.render-pipelines.universal\\ShaderLibrary\\ShaderTypes.cs")]
public struct LightData
Fields
attenuation
Declaration
public Vector4 attenuation
Field Value
Type | Description |
---|---|
Vector4 |
color
Declaration
public Vector4 color
Field Value
Type | Description |
---|---|
Vector4 |
layerMask
Declaration
public uint layerMask
Field Value
Type | Description |
---|---|
UInt32 |
occlusionProbeChannels
Declaration
public Vector4 occlusionProbeChannels
Field Value
Type | Description |
---|---|
Vector4 |
position
Declaration
public Vector4 position
Field Value
Type | Description |
---|---|
Vector4 |
spotDirection
Declaration
public Vector4 spotDirection
Field Value
Type | Description |
---|---|
Vector4 |