MorphCollectionclass

Used to access and manipulate morphs.

objectMorphCollection
Namespace
Sandbox
Assembly
Sandbox.Engine
Declaration
public abstract class Sandbox.MorphCollection

Constructors1

Showing 1 constructors

Methods14

Showing 14 methods

public void ApplyVisemes(System.ReadOnlySpan`1<float> visemeWeights, float scale = 1, float smoothTime = 0)PUBLIC

ParameterTypeDescription
visemeWeightsReadOnlySpan<float>
scale = 1float
smoothTime = 0float
Returns:void

public virtual string GetName(int index)PUBLICVIRTUAL

Retrieve name of a morph at given index.

ParameterTypeDescription
indexint
Returns:string

Properties1

Showing 1 properties

public virtual int Sandbox.MorphCollection.Count { get; set; }PUBLICVIRTUALGETSET

Amount of morphs.

Returns:int

On this page