AR_Engine_SDK
|
Variables | |
XEPrimitiveComponent = {} | |
function XEPrimitiveComponent Empty | ( | ) |
清空当前组件及其children的所有实例
function XEPrimitiveComponent EmptyPhysics | ( | ) |
清空当前组件的骨骼物理资源并释放,移除刚体
function XEPrimitiveComponent GetAngularDamping | ( | ) |
获取刚体角速度阻尼
function XEPrimitiveComponent GetAngularVelocity | ( | ) |
获取刚体角速度
function XEPrimitiveComponent GetLinearDamping | ( | ) |
获取刚体线速度阻尼
function XEPrimitiveComponent GetLinearVelocity | ( | ) |
获取刚体移动速度
function XEPrimitiveComponent GetMass | ( | ) |
获取刚体质量
function XEPrimitiveComponent GetPhysicalAssetPath | ( | ) |
获取物理资源路径
function XEPrimitiveComponent GetRigidType | ( | ) |
获取刚体类型
function XEPrimitiveComponent GetRigidTypeNameList | ( | ) |
获取刚体类型名称列表
function XEPrimitiveComponent GetShapeMaterial | ( | shapeMaterial | ) |
XEPrimitiveComponent_GetShapeMaterial00
shapeMaterial | XShapeMaterial |
function XEPrimitiveComponent GetShapeMaterial | ( | ) |
XEPrimitiveComponent_GetShapeMaterial01
function XEPrimitiveComponent IsCCDEnabled | ( | ) |
判断是否启用连续碰撞检测
function XEPrimitiveComponent IsGravityEnabled | ( | ) |
判断刚体是否启用了重力
function XEPrimitiveComponent IsLoadedPhysicalRes | ( | ) |
判断是否已经加载了物理资源
function XEPrimitiveComponent IsSimulatePhysics | ( | ) |
判断是否进行物理模拟
function XEPrimitiveComponent LoadPhysicalAsset | ( | pPath | ) |
加载物理资源
pPath | string 资源路径 |
function XEPrimitiveComponent LoadPhysicalAsset | ( | pPath | , |
eType | |||
) |
XEPrimitiveComponent_LoadPhysicalAsset01
pPath | string |
eType | number |
function XEPrimitiveComponent new | ( | ) |
XEPrimitiveComponent_new00
function XEPrimitiveComponent Release | ( | ) |
释放资源
function XEPrimitiveComponent RemovePhysicalAsset | ( | ) |
移除物理资源
function XEPrimitiveComponent SetAngularDamping | ( | fAngularDamping | ) |
获取刚体角速度阻尼
fAngularDamping | number |
function XEPrimitiveComponent SetAngularVelocity | ( | vVelocity | ) |
设置刚体角速度
vVelocity | XVECTOR3 |
function XEPrimitiveComponent SetDeleted | ( | bDelete | ) |
设置删除状态
bDelete | boolean |
function XEPrimitiveComponent SetGravityEnabled | ( | bSet | ) |
设置刚体是否启用重力
bSet | boolean |
function XEPrimitiveComponent SetLinearDamping | ( | fLinearDamping | ) |
设置刚体线速度阻尼
fLinearDamping | number |
function XEPrimitiveComponent SetLinearVelocity | ( | vVelocity | ) |
设置刚体移动速度
vVelocity | XVECTOR3 |
function XEPrimitiveComponent SetMass | ( | f | ) |
设置刚体质量
f | number |
function XEPrimitiveComponent SetPhysicalAssetPath | ( | szPath | ) |
设置物理资源路径
szPath | string 物理资源路径 |
function XEPrimitiveComponent SetRigidCCDEnabled | ( | bSet | ) |
设置是否启用连续碰撞检测
bSet | boolean |
function XEPrimitiveComponent SetRigidType | ( | nSel | ) |
设置刚体类型
nSel | number |
function XEPrimitiveComponent SetShapeMaterial | ( | shapeMaterial | ) |
XEPrimitiveComponent_SetShapeMaterial00
shapeMaterial | XShapeMaterial |
function XEPrimitiveComponent SetSimulatePhysics | ( | bSimulate | ) |
设置是否进行物理模拟
bSimulate | boolean |
XEPrimitiveComponent = {} |