public static class ProxyShapeAuditWhat is worth telling somebody about a shape set before they ship it.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
Separate from ShapeVocabulary's check, which asks whether a set says the right words. This asks whether it is any good: a shape that never moves is a shape somebody attached to the wrong joint, two shapes deeply inside each other are a contact that will resolve to the wrong one, and a name in one body's set and missing from another's is the failure that makes a clip work on one character and not another.
⚠ None of these is an error and all of them are worth reading. A shape that never moves is legitimate on a prop; two shapes overlapping is legitimate at a shoulder. What is wanted is a list an author scans once, not a build that refuses.
Methods (2)
public static IReadOnlyList<ShapeValidation> Audit(ProxyShapeSet set, Skeleton skeleton, IReadOnlyList<AnimationClip>? motion = null, int samples = 24)Looks for the three things worth saying about a set.
public static IReadOnlyList<ShapeValidation> Compare(ProxyShapeSet left, ProxyShapeSet right)Names one set has and another does not, in both directions.
Used by (2)
- AuthoringTestsVixen.Animation.Tests
- ProxyShapeDocumentVixen.Editor.AssetEditors