AR_Engine_SDK
|
#include <XAnimation.h>
#include <XAnimation.h>
函数 | |
function IXAnimationBase | GetFilename () end |
function IXAnimationBase | GetAnimationType () end |
function IXAnimationBase | GetSampleType () end |
function IXAnimationBase | GetStartTime () end |
function IXAnimationBase | GetTimeLength () 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 |
变量 | |
POSE_TYPE_NORMAL = 0 | |
POSE_TYPE_DIFF = 0 | |
IXAnimationBase = {} | |
function IXAnimationManager CreateAnimation | ( | szFile | , |
type | |||
) |
function IXAnimationManager EnableSimpleInterpMode | ( | bSimpleInterpMode | ) |
设置是否使用动画采样的简单模式,默认使用
bSimpleInterpMode | boolean 是否使用简化模式 |
function IXAnimationBase GetAnimationType | ( | ) |
获取动画类型
function IXAnimationBase GetFilename | ( | ) |
获取资源文件名
function IXAnimationBase GetSampleType | ( | ) |
获取资源中骨骼信息类型
function IXAnimationBase GetStartTime | ( | ) |
获取动画起始时间
function IXAnimationBase GetTimeLength | ( | ) |
获取动画长度
function IXAnimationManager IsAnimationLoaded | ( | szFile | ) |
判断动画资源是否加载成功
szFile | string 要判断的动画资源文件路径名 |
function IXAnimationManager IsSimpleInterpMode | ( | ) |
设置是否使用动画采样的简单模式,默认使用
function IXAnimationManager LoadAnimation | ( | szFile | ) |
function IXAnimationManager ReleaseAnimation | ( | pAsset | ) |
function IXAnimationManager ReloadAnimation | ( | szFile | ) |
IXAnimationBase = {} |
POSE_TYPE_DIFF = 0 |
POSE_TYPE_NORMAL = 0 |