Class BlendShapeController
- Namespace
- VoxelPlayground.Ragdoll
- Assembly
- GamePlay.dll
public class BlendShapeController : MonoBehaviour
- Inheritance
-
objectBlendShapeController
- Extension Methods
Fields
animMesh
public SkinnedMeshRenderer animMesh
Field Value
blends
public BlendSet[] blends
Field Value
- BlendSet[]
DefaultFacial
public const string DefaultFacial = "Default"
Field Value
- string
subObj
public BlendShapeSubObj subObj
Field Value
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
setNamestringpercentfloatlerpboolskipPermanentbool
ApplyBlend(BlendSet, float, bool, bool)
public void ApplyBlend(BlendSet blends, float percent, bool lerp = true, bool skipPermanent = true)
Parameters
blendsBlendSetpercentfloatlerpboolskipPermanentbool
Blend(string, float, Action)
public void Blend(string setName, float blendTime = -1, Action onSucc = null)
Parameters
setNamestringblendTimefloatonSuccAction
Init()
public void Init()
Recover()
public void Recover()
SetExtraLodMesh(SkinnedMeshRenderer)
public void SetExtraLodMesh(SkinnedMeshRenderer lm)