SpineClipBudget
此内容尚不支持你的语言。
Defined in: spine/spineMetrics.ts:30
What one skeleton’s clipping costs, in work rather than time. Three facts and
not one score, because they do not grow alike: rawVertices prices OPENING a
region and rises faster than itself, edgeWork prices the cut and is linear
in triangles x edges, amplification is what clipping hands the stages after.
Properties
Section titled “Properties”bypassedTriangles
Section titled “bypassedTriangles”bypassedTriangles:
number
Defined in: spine/spineMetrics.ts:43
…that were wholly inside a convex one and passed through untouched.
candidateTriangles
Section titled “candidateTriangles”candidateTriangles:
number
Defined in: spine/spineMetrics.ts:39
Triangles that reached the region at all.
chargedTriangles
Section titled “chargedTriangles”chargedTriangles:
number
Defined in: spine/spineMetrics.ts:45
…that the cut actually ran on. The only ones a budget is charged for.
edgeWork
Section titled “edgeWork”edgeWork:
number
Defined in: spine/spineMetrics.ts:47
Σ charged triangles x the edges of the region charging them.
effectiveEdges
Section titled “effectiveEdges”effectiveEdges:
number
Defined in: spine/spineMetrics.ts:36
Edges across those pieces — what a cut is actually charged per triangle.
inputVertices
Section titled “inputVertices”inputVertices:
number
Defined in: spine/spineMetrics.ts:49
outputTriangles
Section titled “outputTriangles”outputTriangles:
number
Defined in: spine/spineMetrics.ts:51
outputVertices
Section titled “outputVertices”outputVertices:
number
Defined in: spine/spineMetrics.ts:50
pieces
Section titled “pieces”pieces:
number
Defined in: spine/spineMetrics.ts:34
Convex pieces it decomposed into. More than one means concave.
rawVertices
Section titled “rawVertices”rawVertices:
number
Defined in: spine/spineMetrics.ts:32
The polygon as authored. Fixed by the attachment, not by the pose.
rejectedTriangles
Section titled “rejectedTriangles”rejectedTriangles:
number
Defined in: spine/spineMetrics.ts:41
…whose bounds could not meet it.
triangleAmplification
Section titled “triangleAmplification”triangleAmplification:
number
Defined in: spine/spineMetrics.ts:54
vertexAmplification
Section titled “vertexAmplification”vertexAmplification:
number
Defined in: spine/spineMetrics.ts:53
Sharing the cut destroyed: it rebuilds every triangle’s own vertices.