AR_Engine_SDK
|
#include <XUIAnimationComponent.h>
#include <XUIAnimationComponent.h>
变量 | |
XUIAnimationValue = {} | |
XUIAnimationValue | x = 0 |
@type number | |
XUIAnimationValue | y = 0 |
@type number | |
XUIAnimationValue | z = 0 |
@type number | |
XUIAnimationValue | w = 0 |
@type number | |
function XUIAnimationComponent AddSubAnimationItem | ( | eType | ) |
function XUIAnimationComponent Create | ( | ) |
XUIAnimationComponent_Create01
function XUIAnimationComponent Create | ( | pNode | ) |
function XUIAnimationComponent GetAnimationType | ( | ) |
XUIAnimationComponent_GetAnimationType00
function XUIAnimationComponent GetAnimationValue | ( | start | , |
index | |||
) |
function XUIAnimationValue GetColor | ( | ) |
XUIAnimationValue_GetColor00
function XUIAnimationComponent GetDelay | ( | ) |
XUIAnimationComponent_GetDelay00
function XUIAnimationComponent GetDuration | ( | ) |
XUIAnimationComponent_GetDuration00
function XUIAnimationComponent GetEase | ( | ) |
XUIAnimationComponent_GetEase00
function XUIAnimationValue GetFloat | ( | ) |
XUIAnimationValue_GetFloat00
function XUIAnimationComponent GetRepeat | ( | ) |
XUIAnimationComponent_GetRepeat00
function XUIAnimationComponent GetSequencePath | ( | ) |
XUIAnimationComponent_GetSequencePath00
function XUIAnimationComponent GetSequencer | ( | ) |
XUIAnimationComponent_GetSequencer00
function XUIAnimationComponent GetSubAnimationNum | ( | ) |
XUIAnimationComponent_GetSubAnimationNum00
function XUIAnimationComponent GetSubAnimationType | ( | index | ) |
设置获取子动画类型
index | number |
function XUIAnimationValue GetVec2 | ( | ) |
XUIAnimationValue_GetVec200
function XUIAnimationValue GetVec3 | ( | ) |
XUIAnimationValue_GetVec300
function XUIAnimationValue GetVec4 | ( | ) |
XUIAnimationValue_GetVec400
function IXUIAnimationSequence IsLoop | ( | ) |
判断是否是循环播放状态
function IXUIAnimationSequence IsPlaying | ( | ) |
判断是否是正在播放状态
function IXUIAnimationSequence IsReverse | ( | ) |
判断是否是反向播放状态
function XUIAnimationComponent Jump | ( | time | ) |
XUIAnimationComponent_Jump00
time | number |
function XUIAnimationValue new | ( | ) |
XUIAnimationValue_new00
function IXUIAnimationSequence Pause | ( | ) |
暂停播放
function IXUIAnimationSequence Play | ( | ) |
从头播放, 并且设置为非动画剪辑段播放模式
function XUIAnimationComponent RemoveSubAnimationItem | ( | index | ) |
function XUIAnimationComponent RemoveSubAnimationItems | ( | ) |
XUIAnimationComponent_RemoveSubAnimationItems00
function XUIAnimationComponent SetAnimationType | ( | eType | ) |
function XUIAnimationComponent SetAnimationValue | ( | val | , |
start | , | ||
index | |||
) |
设置获取动画起止值
val | XUIAnimationValue 数值,start:是否起始值:缺省true,index:大于等于0时为组动画中子动画索引 |
start | boolean |
index | number |
function XUIAnimationValue SetColor | ( | value | ) |
function XUIAnimationComponent SetCompleteCallBack | ( | callback | ) |
@manual xelua_XEngine_XUIAnimationComponent_SetCompleteCallBack_manual XUIAnimationComponent_SetCompleteCallBack_manual
callback | std::function<void(XUIAnimationComponent*animation)> |
function XUIAnimationComponent SetDelay | ( | value | ) |
function XUIAnimationComponent SetDuration | ( | value | ) |
function XUIAnimationComponent SetEase | ( | value | ) |
function XUIAnimationValue SetFloat | ( | value | ) |
XUIAnimationValue_SetFloat00
value | number |
function IXUIAnimationSequence SetLoop | ( | bLoop | ) |
设置播放循环状态播放
bLoop | boolean |
function XUIAnimationComponent SetRepeat | ( | repeat | ) |
function IXUIAnimationSequence SetReverse | ( | bReverse | ) |
设置播放反向状态
bReverse | boolean |
function XUIAnimationComponent SetSequencePath | ( | path | ) |
function XUIAnimationComponent SetStartCallBack | ( | callback | ) |
@manual xelua_XEngine_XUIAnimationComponent_SetStartCallBack_manual XUIAnimationComponent_SetStartCallBack_manual
callback | std::function<void(XUIAnimationComponent*animation)> |
function XUIAnimationComponent SetSubAnimationType | ( | idx | , |
eType | |||
) |
function XUIAnimationComponent SetUpdateCallBack | ( | callback | ) |
@manual xelua_XEngine_XUIAnimationComponent_SetUpdateCallBack_manual XUIAnimationComponent_SetUpdateCallBack_manual
callback | std::function<void(XUIAnimationComponent*animation)> |
function XUIAnimationValue SetVec2 | ( | value | ) |
function XUIAnimationValue SetVec3 | ( | value | ) |
function XUIAnimationValue SetVec4 | ( | value | ) |
function XUIAnimationValue SetZero | ( | ) |
XUIAnimationValue_SetZero00
function IXUIAnimationSequence Stop | ( | ) |
停止播放
function XUIAnimationComponent Stop | ( | bComplete | ) |
停止播放
bComplete | boolean |
XUIAnimationValue w = 0 |
@type number
XUIAnimationValue x = 0 |
@type number
XUIAnimationValue = {} |
XUIAnimationValue y = 0 |
@type number
XUIAnimationValue z = 0 |
@type number