|
AR_Engine_SDK
|

Functions | |
| function IX2DPhysicalScene | GetName () end |
| function IX2DPhysicalScene | Tick (fTime) end |
| function IX2DPhysicalScene | SetVelocityIterations (nVelocityIters) end |
| function IX2DPhysicalScene | GetVelocityIterations () end |
| function IX2DPhysicalScene | SetPositionIterations (nPositionIters) end |
| function IX2DPhysicalScene | GetPositionIterations () end |
| function IX2DPhysicalScene | GetGravity () end |
| function IX2DPhysicalScene | SetGravity (vGravity) end |
| function IX2DPhysicalScene | CreateRigidBody (pDesc) end |
| function IX2DPhysicalScene | DestroyBody (pBody) end |
| function IX2DPhysicalScene | CreateJoint (desc) end |
| function IX2DPhysicalScene | DestroyJoint (pJoint) end |
Variables | |
| IX2DPhysicalScene = {} | |
| function IX2DPhysicalScene CreateJoint | ( | desc | ) |
| function IX2DPhysicalScene CreateRigidBody | ( | pDesc | ) |
| function IX2DPhysicalScene DestroyBody | ( | pBody | ) |
| function IX2DPhysicalScene DestroyJoint | ( | pJoint | ) |
| function IX2DPhysicalScene GetGravity | ( | ) |
获取场景重力参数,XVECTOR2类型
| function IX2DPhysicalScene GetName | ( | ) |
获取物理场景名称
| function IX2DPhysicalScene GetPositionIterations | ( | ) |
获取Tick时位置的迭代次数,默认是2
| function IX2DPhysicalScene GetVelocityIterations | ( | ) |
获取Tick时速度的迭代次数
| function IX2DPhysicalScene SetGravity | ( | vGravity | ) |
设置场景重力参数
| vGravity | XVECTOR2 重力参数,XVECTOR2类型 |
| function IX2DPhysicalScene SetPositionIterations | ( | nPositionIters | ) |
设置Tick时位置的迭代次数,默认是2
| nPositionIters | number 位置的迭代次数 |
| function IX2DPhysicalScene SetVelocityIterations | ( | nVelocityIters | ) |
设置Tick时速度的迭代次数,默认是6
| nVelocityIters | number 速度的迭代次数 |
| function IX2DPhysicalScene Tick | ( | fTime | ) |
获取物理场景名称 Tick,单位为s
| fTime | number |
| IX2DPhysicalScene = {} |
1.8.15