AR_Engine_SDK
函数 | 变量
XAnimation.lua 文件参考

#include <XAnimation.h>

类 IXAnimationBase 继承关系图:
Inheritance graph

#include <XAnimation.h>

类 IXAnimationManager 继承关系图:
Inheritance graph

函数

function IXAnimationBase GetFilename () end
 
function IXAnimationBase GetAnimationType () end
 
function IXAnimationBase GetSampleType () end
 
function IXAnimationBase GetStartTime () end
 
function IXAnimationBase GetTimeLength () end
 
function IXAnimationManager Init () end
 
function IXAnimationManager Release () end
 
function IXAnimationManager LoadAnimation (szFile) end
 
function IXAnimationManager ReloadAnimation (szFile) end
 
function IXAnimationManager CreateAnimation (szFile, type) end
 
function IXAnimationManager ReleaseAnimation (pAsset) end
 
function IXAnimationManager IsAnimationLoaded (szFile) end
 
function IXAnimationManager EnableSimpleInterpMode (bSimpleInterpMode) end
 
function IXAnimationManager IsSimpleInterpMode () end
 

变量

 IXAnimationBase = {}
 

函数说明

◆ CreateAnimation()

function IXAnimationManager CreateAnimation ( szFile  ,
type   
)

内存中创建动画资源

参数
szFilestring 为资源指定一个路径信息
typenumber 动画类型
返回
IXAnimationBase 动画指针

◆ EnableSimpleInterpMode()

function IXAnimationManager EnableSimpleInterpMode ( bSimpleInterpMode  )

设置是否使用动画采样的简单模式,默认使用

参数
bSimpleInterpModeboolean 是否使用简化模式
返回
void

◆ GetAnimationType()

function IXAnimationBase GetAnimationType ( )

获取动画类型

返回
number 动画类型

◆ GetFilename()

function IXAnimationBase GetFilename ( )

获取资源文件名

返回
string 资源文件名

◆ GetSampleType()

function IXAnimationBase GetSampleType ( )

获取资源中骨骼信息类型

返回
PoseType 骨骼信息类型

◆ GetStartTime()

function IXAnimationBase GetStartTime ( )

获取动画起始时间

返回
number 动画起始时间

◆ GetTimeLength()

function IXAnimationBase GetTimeLength ( )

获取动画长度

返回
number 动画长度

◆ Init()

function IXAnimationManager Init ( )

初始化

返回
boolean

◆ IsAnimationLoaded()

function IXAnimationManager IsAnimationLoaded ( szFile  )

判断动画资源是否加载成功

参数
szFilestring 要判断的动画资源文件路径名
返回
boolean 是否加载成功

◆ IsSimpleInterpMode()

function IXAnimationManager IsSimpleInterpMode ( )

设置是否使用动画采样的简单模式,默认使用

返回
boolean 是否使用简化模式

◆ LoadAnimation()

function IXAnimationManager LoadAnimation ( szFile  )

加载动画资源

参数
szFilestring 动画资源文件路径名
返回
IXAnimationBase 动画指针

◆ Release()

function xes__FaceEvent Release ( )

释放动画资源

返回
void

释放资源

返回
void

释放信息

返回
void

释放模型资源

返回
void

XOrthoCamera_Release01

返回
void

XEMeshAppliqueComponent_XEAppliqueOperater_Release00

返回
void

xes_Attitude_Release00

返回
void

xes_Acceleration_Release00

返回
void

xes_CatmullRomSpline_Release00

返回
void

xes_FaceEvent_Release00

返回
void

◆ ReleaseAnimation()

function IXAnimationManager ReleaseAnimation ( pAsset  )

释放动画资源

参数
pAssetIXAnimationBase 动画资源指针
返回
boolean 是否释放成功

◆ ReloadAnimation()

function IXAnimationManager ReloadAnimation ( szFile  )

重新加载动画资源

参数
szFilestring 动画资源文件路径名
返回
IXAnimationBase 动画指针

变量说明

◆ IXAnimationBase