AR_Engine_SDK
Functions | Variables
XBlendShapeAnim.lua File Reference
类 XBlendShapeAnim 继承关系图:
Inheritance graph

Functions

function XBlendShapeAnim UpdateToCurTime (ctx) end
 
function XBlendShapeAnim AddLayer (eType, szLayerName, pAsset) end
 

Variables

 XBlendShapeAnim = {}
 

Function Documentation

◆ AddLayer()

function XBlendShapeAnim AddLayer ( eType  ,
szLayerName  ,
pAsset   
)

添加一个Layer

Parameters
eTypeAnimControllerType 控制器类型
szLayerNamestring 添加的Layer名称
pAssetIXAnimationBase 动画资源指针
Returns
number 返回添加成功后Layer对应的索引

◆ UpdateToCurTime()

function XBlendShapeAnim UpdateToCurTime ( ctx  )

播放器更新到当前时刻,一般用于引擎内部调用,或重载函数实现;

Parameters
ctxUpdateParam 更新参数
Returns
void

Variable Documentation

◆ XBlendShapeAnim