Class ShadowShape2D
Class ShadowShape2D
stores outline geometry for use with a shadow caster.
Inherited Members
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 |