mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-14 02:58:44 +08:00
12 lines
561 B
C#
12 lines
561 B
C#
namespace Spine.Unity.MeshGeneration {
|
|
// Typically, each ISpineMeshGenerator implementation will handle double-buffering meshes, handling any other optimization behavior
|
|
// and operating on assumptions (eg, only handling one skeleton, not updating triangles all the time).
|
|
// The Scale property allows generated mesh to match external systems like Canvas referencePixelsPerUnit
|
|
|
|
public interface ISimpleMeshGenerator {
|
|
float Scale { set; }
|
|
UnityEngine.Mesh GenerateMesh (Spine.Skeleton skeleton);
|
|
UnityEngine.Mesh LastGeneratedMesh { get; }
|
|
}
|
|
}
|