This version of Unity is unsupported.
Experimental: this API is experimental and might be changed or removed in the future.

SpriteShapeRenderer.Prepare

public void Prepare(Unity.Jobs.JobHandle handle, Experimental.U2D.SpriteShapeParameters shapeParams, Sprite[] sprites);

Parameters

handleJobHandle for the C# based SpriteShape Generator Job.
shapeParamsSprite Shape generation input params.
spritesInput list of Sprites.

Description

Prepare and generate the SpriteShape geometry that will be fed to SpriteShape generator for rendering.