Struct PunctualLightData
Inherited Members
Namespace: UnityEngine.Rendering.Universal
Syntax
public struct PunctualLightData
Fields
attenuation
Declaration
public Vector4 attenuation
Field Value
Type | Description |
---|---|
Vector4 |
color
Declaration
public Vector4 color
Field Value
Type | Description |
---|---|
Vector4 |
lightIndex
Declaration
public int lightIndex
Field Value
Type | Description |
---|---|
Int32 |
occlusionProbeInfo
Declaration
public Vector4 occlusionProbeInfo
Field Value
Type | Description |
---|---|
Vector4 |
radius
Declaration
public float radius
Field Value
Type | Description |
---|---|
Single |
spotDirection
Declaration
public Vector3 spotDirection
Field Value
Type | Description |
---|---|
Vector3 |
wsPos
Declaration
public Vector3 wsPos
Field Value
Type | Description |
---|---|
Vector3 |