Struct ShaderInput.LightData
Namespace: UnityEngine.Rendering.Universal
Syntax
public struct LightData
Fields
attenuation
Declaration
public Vector4 attenuation
Field Value
Type | Description |
---|---|
Vector4 |
color
Declaration
public Vector4 color
Field Value
Type | Description |
---|---|
Vector4 |
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 |