docs.unity.cn
    Show / Hide Table of Contents

    Struct CookieParameters

    Parameters to override sun light cookie.

    Inherited Members
    ValueType.Equals(Object)
    ValueType.GetHashCode()
    ValueType.ToString()
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetType()
    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
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on 07 August 2023