Battle Talent  V11
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
CrossLink.BlendShapeController Class Reference

Inherits MonoBehaviour.

Public Member Functions

void SetExtraLodMesh (SkinnedMeshRenderer lm)
 
void Init ()
 
void Blend (string setName, float blendTime=-1, System.Action onSucc=null)
 
void Recover ()
 
void ApplyBlend (string setName, float percent, bool lerp=true, bool skipPermanent=true)
 only change the weights we've defined in the specific blendset More...
 
void ApplyBlend (BlendSet blends, float percent, bool lerp=true, bool skipPermanent=true)
 

Public Attributes

SkinnedMeshRenderer animMesh
 
BlendSet[] blends
 
BlendShapeSubObj subObj
 

Static Public Attributes

const string DefaultFacial = "Default"
 

Member Function Documentation

◆ ApplyBlend()

void CrossLink.BlendShapeController.ApplyBlend ( string  setName,
float  percent,
bool  lerp = true,
bool  skipPermanent = true 
)

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

Parameters
setName
percent
lerp
skipPermanent