|
AR_Engine_SDK
|


Variables | |
| XESoftBoneChain = {} | |
| function XESoftSkeleton AddSoftBoneChain | ( | szBoneName | ) |
设置一条软骨
| szBoneName | string 根骨骼名称 |
| function XESoftSkeleton BindModelComponentColliders | ( | pModelComponent | ) |
| function XESoftSkeleton Enable | ( | bEnable | ) |
设置是否起作用
| bEnable | boolean 是否起作用 |
| function XESoftSkeleton GetAssetPath | ( | ) |
获取Asset文件路径
| function XESoftBoneChain GetColliderBoneNames | ( | ) |
需要从哪些骨骼上取碰撞体,获取这些骨骼名称
| function XESoftBoneChain GetDamping | ( | ) |
获取软骨信息:阻尼
| function XESoftBoneChain GetDampingCurve | ( | ) |
获取软骨信息:阻尼曲线
| function XESoftBoneChain GetDampingCurveFile | ( | ) |
获取软骨信息:阻尼曲线资源文件
| function XESoftBoneChain GetDistanceDisable | ( | ) |
是否随距离失效
| function XESoftBoneChain GetDistanceToCamera | ( | ) |
设置是否随距离失效
| function XESoftBoneChain GetElasticity | ( | ) |
获取软骨信息:弹性
| function XESoftBoneChain GetElasticityCurve | ( | ) |
获取软骨信息:弹性曲线
| function XESoftBoneChain GetElasticityCurveFile | ( | ) |
获取软骨信息:弹性曲线资源文件
| function XESoftBoneChain GetEndLength | ( | ) |
获取软骨信息:EndLength
| function XESoftBoneChain GetEndOffset | ( | ) |
获取软骨信息:EndOffset
| function XESoftBoneChain GetForce | ( | ) |
获取软骨信息:附加力
| function XESoftBoneChain GetFreezeAxis | ( | ) |
获取软骨信息:轴向限制
| function XESoftBoneChain GetGravity | ( | ) |
获取软骨信息:重力
| function XESoftBoneChain GetInert | ( | ) |
获取软骨信息:惰性
| function XESoftBoneChain GetInertCurve | ( | ) |
获取软骨信息:惰性曲线
| function XESoftBoneChain GetInertCurveFile | ( | ) |
获取软骨信息:惰性曲线资源文件
| function XESoftBoneChain GetRadius | ( | ) |
获取软骨信息:半径
| function XESoftBoneChain GetRadiusCurve | ( | ) |
获取软骨信息:半径曲线
| function XESoftBoneChain GetRadiusCurveFile | ( | ) |
获取软骨信息:半径曲线资源文件
| function XESoftBoneChain GetRootBone | ( | ) |
获得根骨骼
| function XESoftSkeleton GetSoftBoneChain | ( | nIndex | ) |
| function XESoftSkeleton GetSoftBoneChain | ( | szBoneName | ) |
| function XESoftSkeleton GetSoftBoneChainNum | ( | ) |
XESoftSkeleton_GetSoftBoneChainNum00
| function XESoftSkeleton GetSoftBoneChainWithAnyChildBone | ( | szBoneName | ) |
| function XESoftBoneChain GetSoftBones | ( | ) |
获取所有数组
| function XESoftBoneChain GetStiffness | ( | ) |
获取软骨信息:刚度
| function XESoftBoneChain GetStiffnessCurve | ( | ) |
获取软骨信息:刚度曲线
| function XESoftBoneChain GetStiffnessCurveFile | ( | ) |
获取软骨信息:刚度曲线资源文件
| function XESoftBoneChain GetUpdateRate | ( | ) |
获取软骨信息:更新频率,1秒钟更新多少次
| function XESoftBoneChain GetWeight | ( | ) |
获取权重值
| function XESoftSkeleton IsEnable | ( | ) |
获取是否起作用
| function XESoftSkeleton Load | ( | szFile | ) |
XESoftSkeleton_Load00
| szFile | string |
| function XESoftBoneChain LoadDampingCurve | ( | szFile | ) |
设置软骨信息:阻尼曲线
| szFile | string |
| function XESoftBoneChain LoadElasticityCurve | ( | szFile | ) |
设置软骨信息:弹性曲线
| szFile | string |
| function XESoftBoneChain LoadInertCurve | ( | szFile | ) |
设置软骨信息:惰性曲线
| szFile | string |
| function XESoftBoneChain LoadPropertyPrefab | ( | szFile | ) |
读取软骨信息:加载一个prefab,一次性读取所有属性
| szFile | string prefab文件(xml) |
| function XESoftBoneChain LoadRadiusCurve | ( | szFile | ) |
设置软骨信息:半径曲线
| szFile | string |
| function XESoftBoneChain LoadStiffnessCurve | ( | szFile | ) |
设置软骨信息:刚度曲线
| szFile | string |
| function XESoftBoneChain new | ( | pSoftSkeleton | , |
| pRootBone | |||
| ) |
| function XESoftSkeleton new | ( | pModelInstance | ) |
| function XESoftSkeleton RemoveModelComponentColliders | ( | ) |
取消骨骼碰撞体ModelCompoennt
| function XESoftSkeleton RemoveSoftBoneChain | ( | szBoneName | ) |
取消一条软骨
| szBoneName | string 根骨骼名称 |
| function XESoftSkeleton Reset | ( | ) |
重置软骨位置到当前骨骼位置
| function XESoftBoneChain ResetSoftBonePosition | ( | ) |
重置所有软骨位置
| function XESoftSkeleton Save | ( | szFile | ) |
XESoftSkeleton_Save00
| szFile | string |
| function XESoftBoneChain SaveColliderPropertyPrefab | ( | szFile | ) |
保存软骨信息:将所有碰撞属性值保存成一个prefab文件
| szFile | string prefab文件(xml) |
| function XESoftBoneChain SavePhysicsPropertyPrefab | ( | szFile | ) |
保存软骨信息:将所有物理属性值保存成一个prefab文件
| szFile | string prefab文件(xml) |
| function XESoftBoneChain SetColliderBoneName | ( | nIndex | , |
| szName | |||
| ) |
设置需要获取的某个骨骼的名称
| nIndex | number |
| szName | string |
| function XESoftBoneChain SetColliderBoneNum | ( | nNum | ) |
设置骨骼名称的数量
| nNum | number |
| function XESoftBoneChain SetCustomCollider | ( | customColliders | ) |
XESoftBoneChain_SetCustomCollider00
| customColliders | CustomCollider[] |
| function XESoftBoneChain SetDamping | ( | fDamping | ) |
设置软骨信息:阻尼
| fDamping | number 阻尼 |
| function XESoftBoneChain SetDistanceDisable | ( | bSet | ) |
设置是否随距离失效
| bSet | boolean |
| function XESoftBoneChain SetDistanceToCamera | ( | fDistance | ) |
设置失效距离
| fDistance | number 失效距离 |
| function XESoftBoneChain SetElasticity | ( | fElasticity | ) |
设置软骨信息:弹性
| fElasticity | number 弹性 |
| function XESoftBoneChain SetEndLength | ( | fEndLength | ) |
设置软骨信息:EndLength
| fEndLength | number EndLength |
| function XESoftBoneChain SetEndOffset | ( | vEndOffset | ) |
设置软骨信息:EndOffset
| vEndOffset | XVECTOR3 EndOffset |
| function XESoftBoneChain SetExclusionBoneNames | ( | aExclusionName | ) |
XESoftBoneChain_SetExclusionBoneNames00
| aExclusionName | string[] |
| function XESoftBoneChain SetForce | ( | vForce | ) |
设置软骨信息:附加力
| vForce | XVECTOR3 附加力 |
| function XESoftBoneChain SetFreezeAxis | ( | eFreeAxis | ) |
设置软骨信息:轴向限制
| eFreeAxis | number 轴向限制 |
| function XESoftBoneChain SetGravity | ( | vGravity | ) |
设置软骨信息:重力
| vGravity | XVECTOR3 重力 |
| function XESoftBoneChain SetInert | ( | fInert | ) |
设置软骨信息:惰性
| fInert | number 惰性 |
| function XESoftBoneChain SetRadius | ( | fRadius | ) |
设置软骨信息:半径
| fRadius | number 半径 |
| function XESoftBoneChain SetStiffness | ( | fStiffness | ) |
设置软骨信息:刚度
| fStiffness | number 刚度 |
| function XESoftBoneChain SetUpdateRate | ( | fUpdateRate | ) |
设置软骨信息:更新频率,1秒钟更新多少次
| fUpdateRate | number 更新频率 |
| function XESoftBoneChain SetWeight | ( | fWeight | ) |
设置权重值
| fWeight | number 权重值 |
| function XESoftSkeleton Tick | ( | fDelta | , |
| pBaseCamera | |||
| ) |
| XESoftBoneChain = {} |
1.8.15