docs.unity3d.com
Search Results for

    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.GetType()
    object.ReferenceEquals(object, object)
    Namespace: UnityEngine.Rendering.HighDefinition
    Assembly: Unity.RenderPipelines.HighDefinition.Runtime.dll
    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
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)