|
AR_Engine_SDK
|


Functions | |
| function IXPhysicsScene | GetName () end |
| function IXPhysicsScene | AddCloth (pCloth) end |
| function IXPhysicsScene | AddCloth (aCloth) end |
| function IXPhysicsScene | RemoveCloth (pCloth) end |
| function IXPhysicsScene | AddRigidBody (pRigidBody) end |
| function IXPhysicsScene | RemoveRigidBody (pRigidBody) end |
| function IXPhysicsScene | Tick (fTime) end |
| function IXPhysicsScene | Render (pScene) end |
| function IXPhysicsScene | AddEventListener (pListener) end |
| function IXPhysicsScene | RemoveEventListener (pListener) end |
| function IXPhysicsScene | GetGravity () end |
| function IXPhysicsScene | SetGravity (vGravity) end |
Variables | |
| IXPhysicsScene = {} | |
| function IXPhysicsScene AddCloth | ( | pCloth | ) |
| function IXPhysicsScene AddCloth | ( | aCloth | ) |
| function IXPhysicsScene AddEventListener | ( | pListener | ) |
为场景添加监听器
| pListener | IXPhysicalSceneEventListener |
| function IXPhysicsScene AddRigidBody | ( | pRigidBody | ) |
将一个刚体添加到场景中
| pRigidBody | IXRigidBody pRigidBody刚体指针 |
| function IXPhysicsScene GetGravity | ( | ) |
获取场景重力参数,并返回
| function IXPhysicsScene GetName | ( | ) |
获取物理场景名称
| function IXPhysicsScene RemoveCloth | ( | pCloth | ) |
| function IXPhysicsScene RemoveEventListener | ( | pListener | ) |
移除监听器
| pListener | IXPhysicalSceneEventListener |
| function IXPhysicsScene RemoveRigidBody | ( | pRigidBody | ) |
将刚体从场景中移除
| pRigidBody | IXRigidBody pRigidBody刚体指针 |
| function IXPhysicsScene Render | ( | pScene | ) |
Render场景中的布料
| pScene | IXRenderSet |
| function IXPhysicsScene SetGravity | ( | vGravity | ) |
设置场景重力参数
| vGravity | XVECTOR3 |
| function IXPhysicsScene Tick | ( | fTime | ) |
更新
| fTime | number |
| IXPhysicsScene = {} |
1.8.15