docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class ShadowShape2D

    Class ShadowShape2D stores outline geometry for use with a shadow caster.

    Inheritance
    object
    ShadowShape2D
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEngine.Rendering.Universal
    Assembly: Unity.RenderPipelines.Universal.2D.Runtime.dll
    Syntax
    public abstract class ShadowShape2D

    Methods

    Name Description
    GetFlip(out bool, out bool)

    GetFlip returns how the shadow shape should be flipped when rendered

    SetDefaultTrim(float)

    The value to initialize the trim when created

    SetFlip(bool, bool)

    SetFlip specifies how the shadow shape should be flipped when rendered

    SetShape(NativeArray<Vector3>, NativeArray<int>, NativeArray<float>, Matrix4x4, WindingOrder, bool, bool)

    SetShape creates shadow geometry using the supplied geometry

    SetShape(NativeArray<Vector3>, NativeArray<int>, OutlineTopology, WindingOrder, bool, bool)

    SetShape creates shadow geometry using the supplied geometry

    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)