public override void OverrideGeometry(Sprite baseSprite, Sprite dummySprite, TextureInfo textureInfo, SpriteConfigData data) { dummySprite.GetVertexAndTriangle2D(data, out var vertices, out var triangles, MeshRenderType.Transparent); vertices = MeshUtil.GetScaledVertices(vertices, textureInfo, isClamped: true); baseSprite.OverrideGeometry(vertices, triangles); }