AR_Engine_SDK
|
Functions | |
function XBoneControllerBase | new (pTargetBone) end |
function XBoneControllerBase | Update (nDeltaTime, pTargetBone, matControlled) end |
**************************************************************************** More... | |
function XBoneControllerBase | Update (nDeltaTime, pTargetBone) end |
function XBoneControllerBase | GetNextController () end |
function XBoneControllerBase | SetNextController (pController) end |
function XBoneControllerBase | GetTargetBone () end |
function XBoneControllerBase | GetControllerMatrix () end |
function XBoneControllerBase | SetUserData (key, value) end |
function XBoneControllerBase | GetUserData (key, pValue) end |
function XBoneControllerBase | GetUserData (key) end |
function XBoneScaleController | Scale (scale, nTransTime) end |
function XBoneRotController | Rotate (qu, nTransTime) end |
function XBonePosController | Move (vecPos, nTransTime) end |
function XBoneMatrixController | CombineMatrix (mat, nTransTime) end |
function XBoneMatrixController | CombineMatrixList (mats, weights, nNumMat, nTransTime) end |
function XBoneWorldRotController | SetRotRadian (vEuler) end |
function XBoneWorldMatController | SetTranslate (vPosition) end |
function XBoneWorldMatController | SetScale (vScale) end |
Variables | |
XBoneControllerBase = {} | |
function XBoneMatrixController CombineMatrix | ( | mat | , |
nTransTime | |||
) |
设置骨头叠加矩阵信息,以及叠加的时间,更新时会按时间一步步步进到此矩阵值
mat | XMATRIX4 矩阵信息 |
nTransTime | number 时间值 |
function XBoneMatrixController CombineMatrixList | ( | mats | , |
weights | , | ||
nNumMat | , | ||
nTransTime | |||
) |
设置骨头叠加矩阵信息列表,以及各叠加矩阵的时间,更新时会按时间一步步,步进到时间对应的矩阵值
mats | XMATRIX4 |
weights | number |
nNumMat | number |
nTransTime | number |
function XBoneControllerBase GetControllerMatrix | ( | ) |
获取控制器矩阵信息
function XBoneControllerBase GetNextController | ( | ) |
获取下一个骨头控制器
function XBoneControllerBase GetTargetBone | ( | ) |
获取控制器控制的目标骨头
function XBoneControllerBase GetUserData | ( | key | , |
pValue | |||
) |
XBoneControllerBase_GetUserData00
key | string |
pValue | number |
function XBoneControllerBase GetUserData | ( | key | ) |
XBoneControllerBase_GetUserData01
key | string |
function XBonePosController Move | ( | vecPos | , |
nTransTime | |||
) |
设置骨头平移值,以及平移时间,更新时会按时间一步步,步进到此平移值
vecPos | XVECTOR3 平移信息 |
nTransTime | number 执行平移的时刻 |
function XBoneWorldMatController new | ( | pTargetBone | ) |
XBoneControllerBase_new00
pTargetBone | XBone |
XBoneScaleController_new00
pTargetBone | XBone |
XBoneLocalScaleController_new00
pTargetBone | XBone |
XBoneRotController_new00
pTargetBone | XBone |
XBonePosController_new00
pTargetBone | XBone |
XBoneMatrixController_new00
pTargetBone | XBone |
XBoneWorldRotController_new00
pTargetBone | XBone |
XBoneWorldMatController_new00
pTargetBone | XBone |
function XBoneRotController Rotate | ( | qu | , |
nTransTime | |||
) |
设置骨头旋转值,以及旋转时间,更新时会按时间一步步,步进到此旋转值
qu | XQUATERNION 旋转四元数信息 |
nTransTime | number 旋转的时刻 |
function XBoneScaleController Scale | ( | scale | , |
nTransTime | |||
) |
缩放骨头
scale | XVECTOR3 缩放信息 |
nTransTime | number 执行缩放的时刻 |
function XBoneControllerBase SetNextController | ( | pController | ) |
function XBoneWorldMatController SetRotRadian | ( | vEuler | ) |
设置旋转欧拉角信息
vEuler | XVECTOR3 旋转欧拉角信息 |
function XBoneWorldMatController SetScale | ( | vScale | ) |
设置缩放信息
vScale | XVECTOR3 缩放信息 |
function XBoneWorldMatController SetTranslate | ( | vPosition | ) |
设置平移信息
vPosition | XVECTOR3 平移信息 |
function XBoneControllerBase SetUserData | ( | key | , |
value | |||
) |
设置用户扩展参数
key | string 键 |
value | number 值 |
function XBoneWorldMatController Update | ( | nDeltaTime | , |
pTargetBone | , | ||
matControlled | |||
) |
****************************************************************************
控制器更新骨头矩阵
nDeltaTime | number |
pTargetBone | XBone |
matControlled | XMATRIX4 |
function XBoneWorldMatController Update | ( | nDeltaTime | , |
pTargetBone | |||
) |
XBoneControllerBase = {} |