AR_Engine_SDK
载入中...
搜索中...
未找到
函数 | 变量
XEPhysicsSkeletalRoot.lua 文件参考

#include <XEPhysicsSkeletalRoot.h>

类 XEPhysicsSkeletalRoot 继承关系图:
Inheritance graph

函数

function XEPhysicsSkeletalRoot new () end
 
function XEPhysicsSkeletalRoot GetSkeAssetPath () end
 
function XEPhysicsSkeletalRoot GetPhyAssetPath () end
 
function XEPhysicsSkeletalRoot LoadSkeletalPhyAsset (szPhyResPath, szSkePath) end
 
function XEPhysicsSkeletalRoot GetXSkeletalPhysicsRes () end
 
function XEPhysicsSkeletalRoot GetIsModify () end
 
function XEPhysicsSkeletalRoot SetIsModify (bIsModify) end
 
function XEPhysicsSkeletalRoot Save () end
 
function XEPhysicsSkeletalRoot CreateSkeletalBodyInPhysicsWorld (szBoneName) end
 
function XEPhysicsSkeletalRoot CreateConstraintInPhysicsWorld (szBone1Name, szBone2Name) end
 
function XEPhysicsSkeletalRoot RemovePhysicsSkeletalBodyFromPhysicsWorld (pBodyTemp) end
 
function XEPhysicsSkeletalRoot RemoveConstraintFromPhysicsWorld (szBone1Name, szBone2Name) end
 
function XEPhysicsSkeletalRoot CreatePhysicsSkeletalBodyNode (szBoneName) end
 
function XEPhysicsSkeletalRoot CreateConstraintNode (szBone2Name, szBone1Name) end
 
function XEPhysicsSkeletalRoot RemoveNodeTempate (pNode, bIncludeChild, bReleaseMemory, bReleaseNodes) end
 

变量

 XEPhysicsSkeletalRoot = {}
 

函数说明

◆ CreateConstraintInPhysicsWorld()

function XEPhysicsSkeletalRoot CreateConstraintInPhysicsWorld ( szBone1Name  ,
szBone2Name   
)

在两个骨骼之间创建关节

参数
szBone1Namestring
szBone2Namestring
返回
boolean 是否创建成功

◆ CreateConstraintNode()

function XEPhysicsSkeletalRoot CreateConstraintNode ( szBone2Name  ,
szBone1Name   
)

创建关节节点

参数
szBone2Namestring
szBone1Namestring
返回
XEPhysicsConstraint 创建的关节指针

◆ CreatePhysicsSkeletalBodyNode()

function XEPhysicsSkeletalRoot CreatePhysicsSkeletalBodyNode ( szBoneName  )

创建刚体节点

参数
szBoneNamestring
返回
XEPhysicsSkeletalBody 是否创建成功

◆ CreateSkeletalBodyInPhysicsWorld()

function XEPhysicsSkeletalRoot CreateSkeletalBodyInPhysicsWorld ( szBoneName  )

在骨骼中创建刚体

参数
szBoneNamestring
返回
boolean 是否创建成功

◆ GetIsModify()

function XEPhysicsSkeletalRoot GetIsModify ( )

返回是否有了改动

返回
boolean 是否有改动

◆ GetPhyAssetPath()

function XEPhysicsSkeletalRoot GetPhyAssetPath ( )

获取绑定的物理文件资源地址

返回
string 物理文件资源地址

◆ GetSkeAssetPath()

function XEPhysicsSkeletalRoot GetSkeAssetPath ( )

获取当骨骼的资源地址

返回
string 骨骼的资源地址

◆ GetXSkeletalPhysicsRes()

function XEPhysicsSkeletalRoot GetXSkeletalPhysicsRes ( )

获取骨骼对应的引擎中物理资源指针

返回
IXSkeletalPhysicsRes 引擎中物理资源指针

◆ LoadSkeletalPhyAsset()

function XEPhysicsSkeletalRoot LoadSkeletalPhyAsset ( szPhyResPath  ,
szSkePath   
)

为骨骼加载物理文件

参数
szPhyResPathstring 物理文件资源地址
szSkePathstring
返回
boolean

◆ new()

function XEPhysicsSkeletalRoot new ( )

XEPhysicsSkeletalRoot_new00

返回
XEPhysicsSkeletalRoot

◆ RemoveConstraintFromPhysicsWorld()

function XEPhysicsSkeletalRoot RemoveConstraintFromPhysicsWorld ( szBone1Name  ,
szBone2Name   
)

移除两个骨骼所关联的关节

参数
szBone1Namestring
szBone2Namestring
返回
void

◆ RemoveNodeTempate()

function XEPhysicsSkeletalRoot RemoveNodeTempate ( pNode  ,
bIncludeChild  ,
bReleaseMemory  ,
bReleaseNodes   
)

移除节点的模板

参数
pNodeXEUserNode
bIncludeChildboolean
bReleaseMemoryboolean
bReleaseNodesboolean
返回
void

◆ RemovePhysicsSkeletalBodyFromPhysicsWorld()

function XEPhysicsSkeletalRoot RemovePhysicsSkeletalBodyFromPhysicsWorld ( pBodyTemp  )

移除带有刚体属性的骨骼刚体

参数
pBodyTempXEPhysicsSkeletalBody
返回
void

◆ Save()

function XEPhysicsSkeletalRoot Save ( )

引擎物理资源管理器保存对应的物理资源

返回
boolean

◆ SetIsModify()

function XEPhysicsSkeletalRoot SetIsModify ( bIsModify  )

设置是否有改动

参数
bIsModifyboolean
返回
void

变量说明

◆ XEPhysicsSkeletalRoot