AR_Engine_SDK
Functions | Variables
XEPhysicsShapeElem.lua File Reference
类 XEPhysicsShapeElem 继承关系图:
Inheritance graph

Functions

function XEPhysicsShapeElem new () end
 
function XEPhysicsShapeElem Release () 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
 

Variables

 XEPhysicsShapeElem = {}
 

Function Documentation

◆ GetShapeIndex()

function XEPhysicsShapeElem GetShapeIndex ( )

获取刚体形状的索引ID

Returns
number 刚体形状的索引ID

◆ GetXPhyShapeElem()

function XEPhysicsShapeElem GetXPhyShapeElem ( )

获取刚体形状的基本数据

Returns
XSphylShapeElem 刚体形状数据指针

◆ new()

function XEPhysicsShapeElem new ( )

XEPhysicsShapeElem_new00

Returns
XEPhysicsShapeElem

◆ Release()

function XEPhysicsShapeElem Release ( )

将自身绑定的刚体节点指针置空

Returns
void

◆ SetAttachSkeletalBodyNode()

function XEPhysicsShapeElem SetAttachSkeletalBodyNode ( pNode  )

设置绑定的刚体节点

Parameters
pNodeXEPhysicsSkeletalBody 刚体节点指针
Returns
void

◆ SetXPhyShapeElem()

function XEPhysicsShapeElem SetXPhyShapeElem ( nIndex  ,
ele   
)

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

Parameters
nIndexnumber 索引ID
eleXSphylShapeElem
Returns
void

◆ UpdateBodyShape()

function XEPhysicsShapeElem UpdateBodyShape ( nIndex  ,
pShapeElem   
)

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

Parameters
nIndexnumber 索引ID
pShapeElemXSphylShapeElem
Returns
boolean 是否更新成功

Variable Documentation

◆ XEPhysicsShapeElem