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

#include <XEPhysicsShapeElem.h>

类 XEPhysicsShapeElem 继承关系图:
Inheritance graph

函数

function XEPhysicsShapeElem new () end
 
function XEPhysicsShapeElem SetXPhyShapeElem (nIndex, ele) end
 
function XEPhysicsShapeElem GetXPhyShapeElem () end
 
function XEPhysicsShapeElem GetShapeIndex () end
 
function XEPhysicsShapeElem UpdateBodyShape (nIndex, pShapeElem) end
 
function XEPhysicsShapeElem SetAttachSkeletalBodyNode (pNode) end
 

变量

 XEPhysicsShapeElem = {}
 

函数说明

◆ GetShapeIndex()

function XEPhysicsShapeElem GetShapeIndex ( )

获取刚体形状的索引ID

返回
number 刚体形状的索引ID

◆ GetXPhyShapeElem()

function XEPhysicsShapeElem GetXPhyShapeElem ( )

获取刚体形状的基本数据

返回
XSphylShapeElem 刚体形状数据指针

◆ new()

function XEPhysicsShapeElem new ( )

XEPhysicsShapeElem_new00

返回
XEPhysicsShapeElem

◆ SetAttachSkeletalBodyNode()

function XEPhysicsShapeElem SetAttachSkeletalBodyNode ( pNode  )

设置绑定的刚体节点

参数
pNodeXEPhysicsSkeletalBody 刚体节点指针
返回
void

◆ SetXPhyShapeElem()

function XEPhysicsShapeElem SetXPhyShapeElem ( nIndex  ,
ele   
)

指定刚体形状的索引和基本数据

参数
nIndexnumber 索引ID
eleXSphylShapeElem
返回
void

◆ UpdateBodyShape()

function XEPhysicsShapeElem UpdateBodyShape ( nIndex  ,
pShapeElem   
)

更新刚体形状的索引和基本数据

参数
nIndexnumber 索引ID
pShapeElemXSphylShapeElem
返回
boolean 是否更新成功

变量说明

◆ XEPhysicsShapeElem