|
AR_Engine_SDK
|



Functions | |
| function IXPhysicsRes | GetType () end |
| function IXPhysicsRes | GetName () end |
| function IXPhysicsRes | Release () end |
| function IXSkeletalPhysicsRes__XPhysResCreateParams | new () end |
| function IXSkeletalPhysicsRes | GetModelFile () end |
| @type string 骨骼1的名称 More... | |
| function IXSkeletalPhysicsRes | InitFromSkinModel (szSkinModelFile, Params) end |
| function IXSkeletalPhysicsRes | CreateSkeletalBody (szBoneName) end |
| function IXSkeletalPhysicsRes | RemoveSkeletalBody (szBoneName) end |
| function IXSkeletalPhysicsRes | CreateConstraint (szBone1Name, szBone2Name) end |
| function IXSkeletalPhysicsRes | RemoveConstraint (szBone1Name, szBone2Name) end |
| function IXSkeletalPhysicsRes | GetSkeletalBody (szBoneName) end |
| function IXSkeletalPhysicsRes | GetConstraint (szBone1Name, szBone2Name) end |
| function IXSkeletalPhysicsRes | GetAllBoneName () end |
| function IXSkeletalPhysicsRes | GetAllConstraintBoneNames () end |
Variables | |
| PRT_STATIC = 0 | |
| PRT_SKELETAL = 0 | |
| PRT_NUM = 0 | |
| IXPhysicsRes = {} | |
| function IXSkeletalPhysicsRes CreateConstraint | ( | szBone1Name | , |
| szBone2Name | |||
| ) |
创建两个骨头的约束
| szBone1Name | string 骨头1名称 |
| szBone2Name | string 骨头2名称 |
| function IXSkeletalPhysicsRes CreateSkeletalBody | ( | szBoneName | ) |
创建骨架刚体
| szBoneName | string 骨头名称 |
| function IXSkeletalPhysicsRes GetAllBoneName | ( | ) |
获取资源中所有绑定了刚体的骨骼名称
| function IXSkeletalPhysicsRes GetAllConstraintBoneNames | ( | ) |
获取资源中所有关节绑定的骨骼名称对
| function IXSkeletalPhysicsRes GetConstraint | ( | szBone1Name | , |
| szBone2Name | |||
| ) |
| function IXSkeletalPhysicsRes GetModelFile | ( | ) |
@type string 骨骼1的名称
@type string 骨骼2的名称 获取模型文件路径名
| function IXPhysicsRes GetName | ( | ) |
获取资源路径
| function IXSkeletalPhysicsRes GetSkeletalBody | ( | szBoneName | ) |
| function IXPhysicsRes GetType | ( | ) |
获取物理资源类型 PRT_SKELETAL:骨骼模型物理资源,在模型转换时生成,包括碰撞体和约束关节
| function IXSkeletalPhysicsRes InitFromSkinModel | ( | szSkinModelFile | , |
| Params | |||
| ) |
从Model初始化骨骼物理资源
| szSkinModelFile | string 模型文件路径名 |
| Params | IXSkeletalPhysicsRes::XPhysResCreateParams 骨骼物理参数 |
| function IXSkeletalPhysicsRes__XPhysResCreateParams new | ( | ) |
IXSkeletalPhysicsRes_XPhysResCreateParams_new00
| function IXPhysicsRes Release | ( | ) |
释放资源,引用计数减1
| function IXSkeletalPhysicsRes RemoveConstraint | ( | szBone1Name | , |
| szBone2Name | |||
| ) |
删除两个骨头的约束
| szBone1Name | string 骨头1名称 |
| szBone2Name | string 骨头2名称 |
| function IXSkeletalPhysicsRes RemoveSkeletalBody | ( | szBoneName | ) |
删除骨架刚体
| szBoneName | string 骨头名称 |
| IXPhysicsRes = {} |
| PRT_NUM = 0 |
| PRT_SKELETAL = 0 |
| PRT_STATIC = 0 |
1.8.15