API Reference · Skinning and morph targets

MorphWeights

Namespace: Ava3D

public sealed class MorphWeights

Every morph target of a model by its own name, unpaired — eye_large and eye_small as two 0..1 weights rather than one signed parameter.

The escape hatch from MorphShapes's pairing, for a caller driving targets from something that already knows what it wants: a face solver, a recorded take, a file of its own.

Properties

MemberDescription
float Item { get; set; }

One target's weight, 0 to 1 as glTF defines it. Setting a name no target has does nothing.

IEnumerable<string> Names { get; }

Every target name the model carries.

Methods

MemberDescription
bool Contains(string target)

Whether the model carries a target by this name.

See also