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

#include <XEPhysicsConstraint.h>

类 XEPhysicsConstraint 继承关系图:
Inheritance graph

函数

function XEPhysicsConstraint new () end
 
function XEPhysicsConstraint GetBone1Name () end
 
function XEPhysicsConstraint GetBone2Name () end
 
function XEPhysicsConstraint SetXPhysicsConstraint (pConstraint) end
 
function XEPhysicsConstraint GetXPhysicsConstraint () end
 
function XEPhysicsConstraint SetSkeletalBodyName (strAttachBodyName, strOtherBodyName) end
 
function XEPhysicsConstraint GetAttachSkeletalBodyName () end
 
function XEPhysicsConstraint GetAttachOtherSkeletalBodyName () end
 

变量

 XEPhysicsConstraint = {}
 

函数说明

◆ GetAttachOtherSkeletalBodyName()

function XEPhysicsConstraint GetAttachOtherSkeletalBodyName ( )

获取当前约束关联的另一个body节点

返回
string 当前约束关联的另一个body节点

◆ GetAttachSkeletalBodyName()

function XEPhysicsConstraint GetAttachSkeletalBodyName ( )

获取当前约束节点所属的父body节点

返回
string 当前约束节点所属的父body节点

◆ GetBone1Name()

function XEPhysicsConstraint GetBone1Name ( )

获取关节其中一个骨骼的名称

返回
string 骨骼文件的名称

◆ GetBone2Name()

function XEPhysicsConstraint GetBone2Name ( )

获取关节其中一个骨骼的名称

返回
string 骨骼文件的名称

◆ GetXPhysicsConstraint()

function XEPhysicsConstraint GetXPhysicsConstraint ( )

获取物理关节指针

返回
IXConstraint 关节指针

◆ new()

function XEPhysicsConstraint new ( )

XEPhysicsConstraint_new00

返回
XEPhysicsConstraint

◆ SetSkeletalBodyName()

function XEPhysicsConstraint SetSkeletalBodyName ( strAttachBodyName  ,
strOtherBodyName   
)

设置当前约束节点所属的父body节点和关联的另外一个body节点

参数
strAttachBodyNamestring 当前约束节点所属的父body节点
strOtherBodyNamestring 当前约束关联的另一个body节点
返回
void

◆ SetXPhysicsConstraint()

function XEPhysicsConstraint SetXPhysicsConstraint ( pConstraint  )

设置物理关节

参数
pConstraintIXConstraint
返回
void

变量说明

◆ XEPhysicsConstraint