|
AR_Engine_SDK
|

Variables | |
| XSphylShapeElem = {} | |
| XSphylShapeElem | vCenter = {} |
| @type XVECTOR3 More... | |
| XSphylShapeElem | qRotation = {} |
| @type XQUATERNION More... | |
| XSphylShapeElem | fRadius = 0 |
| @type number More... | |
| XSphylShapeElem | fLength = 0 |
| @type number Cylinder height More... | |
| function IXSkeletalBody AttachShape | ( | ShapeElem | ) |
| function IXSkeletalBody DebugDraw | ( | pModelIns | ) |
| function IXSkeletalBody DebugDraw | ( | pModelIns | , |
| Color | |||
| ) |
| function IXSkeletalBody DetachAllShapes | ( | ) |
清空形状数据
| function IXSkeletalBody GetAngularDamping | ( | ) |
获取刚体角速度阻尼
| function IXSkeletalBody GetBoneName | ( | ) |
获取骨头名称
| function IXSkeletalBody GetDensity | ( | ) |
IXSkeletalBody_GetDensity00
| function IXSkeletalBody GetFilterData | ( | ) |
获取碰撞过滤
| function IXSkeletalBody GetLinearDamping | ( | ) |
获取刚体线速度阻尼
| function IXSkeletalBody GetLinearVelocity | ( | ) |
获取刚体移动速度(注意:如果未开启模拟,无效)
| function IXSkeletalBody GetMaterial | ( | ) |
获取刚体形状表面材质
| function IXSkeletalBody GetPhysicsBlendWeight | ( | ) |
获取物理融合权重
| function IXSkeletalBody GetShapes | ( | ) |
获取所有形状
| function IXSkeletalBody IsGravityEnabled | ( | ) |
判断刚体是否启用了重力
| function IXSkeletalBody IsKinematic | ( | ) |
获取是否为Kinematic类型
| function IXSkeletalBody IsSimulatePhysics | ( | ) |
判断是否开启模拟物理
| function XSphylShapeElem new | ( | ) |
XSphylShapeElem_new00
| function IXSkeletalBody SetAngularDamping | ( | fAngularDamping | ) |
获取刚体角速度阻尼
| fAngularDamping | number |
| function IXSkeletalBody SetDensity | ( | fDensity | ) |
IXSkeletalBody_SetDensity00
| fDensity | number |
| function IXSkeletalBody SetFilterData | ( | nFilter | ) |
设置碰撞过滤
| nFilter | number 碰撞过滤 |
| function IXSkeletalBody SetGravityEnabled | ( | bSet | ) |
设置刚体是否启用重力
| bSet | boolean |
| function IXSkeletalBody SetKinematic | ( | bSet | ) |
设置是否为Kinematic类型,不受场景中其他物体影响,可以被用户控制并影响其他物体
| bSet | boolean true:设置为Kinematic类型;false:设置为非Kinematic类型 |
| function IXSkeletalBody SetKinematicTransform | ( | matrix | ) |
设置Kinematic物体的变换矩阵
| matrix | XMATRIX4 |
| function IXSkeletalBody SetLinearDamping | ( | fLinearDamping | ) |
设置刚体线速度阻尼
| fLinearDamping | number |
| function IXSkeletalBody SetLinearVelocity | ( | vVelocity | ) |
设置刚体移动速度(注意:如果未开启模拟,无效)
| vVelocity | XVECTOR3 刚体移动速度 |
| function IXSkeletalBody SetMaterial | ( | mat | ) |
设置刚体形状表面材质
| mat | XShapeMaterial 刚体形状表面材质 |
| function IXSkeletalBody SetPhysicsBlendWeight | ( | fPhysicsBlendWeight | ) |
设置物理融合权重
| fPhysicsBlendWeight | number 物理融合权重(xfloat32类型) |
| function IXSkeletalBody SetShape | ( | nShapeIndex | , |
| ShapeElem | |||
| ) |
| function IXSkeletalBody SetSimulatePhysics | ( | bSimulatePhysics | ) |
设置是否开启模拟物理
| bSimulatePhysics | boolean 是否开启模拟物理 |
| XSphylShapeElem fLength = 0 |
@type number Cylinder height
| XSphylShapeElem fRadius = 0 |
@type number
| XSphylShapeElem qRotation = {} |
@type XQUATERNION
| XSphylShapeElem vCenter = {} |
@type XVECTOR3
| XSphylShapeElem = {} |
1.8.15