public NativeArray<SpriteShapeSegment> GetSegments (int dataSize);

Parameters

dataSizeSize to be reserved for the segments array.

Returns

NativeArray<SpriteShapeSegment> Size to be reserved for the NativeArray.

Description

Get/Set an array of segments of SpriteShapeRenderer.