Struct CookieParameters
Parameters to override sun light cookie.
Namespace: UnityEngine.Rendering.HighDefinition
Syntax
public struct CookieParameters
Fields
position
The world space position to use as projection origin.
Declaration
public Vector3 position
Field Value
Type | Description |
---|---|
Vector3 |
size
The size of the projected cookie texture in pixels.
Declaration
public Vector2 size
Field Value
Type | Description |
---|---|
Vector2 |
texture
The 2D cookie texture to use.
Declaration
public Texture texture
Field Value
Type | Description |
---|---|
Texture |