SpriteShapeRenderer.Prepare

Declaration

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

Parameters

handle JobHandle for the C# based SpriteShape Generator Job.
shapeParams Sprite Shape generation input params.
sprites Input list of Sprites.

Description

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


Did you find this page useful? Please give it a rating: