Table of Contents

Class BlendShapeController

Namespace
VoxelPlayground.Ragdoll
Assembly
GamePlay.dll
public class BlendShapeController : MonoBehaviour
Inheritance
object
BlendShapeController
Extension Methods

Fields

animMesh

public SkinnedMeshRenderer animMesh

Field Value

SkinnedMeshRenderer

blends

public BlendSet[] blends

Field Value

BlendSet[]

DefaultFacial

public const string DefaultFacial = "Default"

Field Value

string

subObj

public BlendShapeSubObj subObj

Field Value

BlendShapeSubObj

Methods

ApplyBlend(string, float, bool, bool)

only change the weights we've defined in the specific blendset

public void ApplyBlend(string setName, float percent, bool lerp = true, bool skipPermanent = true)

Parameters

setName string
percent float
lerp bool
skipPermanent bool

ApplyBlend(BlendSet, float, bool, bool)

public void ApplyBlend(BlendSet blends, float percent, bool lerp = true, bool skipPermanent = true)

Parameters

blends BlendSet
percent float
lerp bool
skipPermanent bool

Blend(string, float, Action)

public void Blend(string setName, float blendTime = -1, Action onSucc = null)

Parameters

setName string
blendTime float
onSucc Action

Init()

public void Init()

Recover()

public void Recover()

SetExtraLodMesh(SkinnedMeshRenderer)

public void SetExtraLodMesh(SkinnedMeshRenderer lm)

Parameters

lm SkinnedMeshRenderer