AR_Engine_SDK
|
#include <IXPhysicsScene.h>
#include <IXPhysicsScene.h>
函数 | |
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 | GetGravity () end |
function IXPhysicsScene | SetGravity (vGravity) end |
变量 | |
IXPhysicsScene = {} | |
function IXPhysicsScene AddCloth | ( | aCloth | ) |
function IXPhysicsScene AddCloth | ( | pCloth | ) |
function IXPhysicsScene AddRigidBody | ( | pRigidBody | ) |
将一个刚体添加到场景中
pRigidBody | IXRigidBody pRigidBody刚体指针 |
function IXPhysicsScene GetGravity | ( | ) |
获取场景重力参数,并返回
function IXPhysicsScene GetName | ( | ) |
获取物理场景名称
function IXPhysicsScene RemoveCloth | ( | pCloth | ) |
function IXPhysicsScene RemoveRigidBody | ( | pRigidBody | ) |
将刚体从场景中移除
pRigidBody | IXRigidBody pRigidBody刚体指针 |
function IXPhysicsScene SetGravity | ( | vGravity | ) |
IXPhysicsScene = {} |