|
AR_Engine_SDK
|

Variables | |
| XEPhysicsClothConfig = {} | |
| function XEPhysicsClothConfig AcceptPreviewAnimatableModel | ( | strPath | ) |
根据路径创建一个actor,并将Actor绑定的布料资源注册到物理世界
| strPath | string 对应的资源路径 |
| function XEPhysicsClothConfig CreateClothAttachModel | ( | szClothPath | , |
| nSkinIndex | |||
| ) |
根据蒙皮索引和 cth 路径创建布料资源并绑定到模型上,内部是根据材质名进行匹配
| szClothPath | string 布料资源(cth)的路径,此路径是相对工程文件夹下.xscene文件的路径 |
| nSkinIndex | number 模型对象的蒙皮索引 |
| function XEPhysicsClothConfig CreateClothAttachModelWithClothPath | ( | szClothPath | , |
| nSkinIndex | |||
| ) |
根据蒙皮索引和 cth 路径创建布料资源并绑定到模型上,内部是根据材质名进行匹配
| szClothPath | string 布料资源(cth)的路径,此路径是相对工程文件夹下.xscene文件的路径 |
| nSkinIndex | number 模型对象的蒙皮索引 |
| function XEPhysicsClothConfig GetActorName | ( | ) |
获取绑定的Actor名字
| function XEPhysicsClothConfig GetAllClothParamName | ( | ) |
获取模型实例所绑定的所有布料资源
| function XEPhysicsClothConfig GetClothPrimitive | ( | szMeshName | ) |
| function XEPhysicsClothConfig GetClothPrimitive | ( | pCloths | ) |
| function XEPhysicsClothConfig GetClothPrimitive | ( | ) |
XEPhysicsClothConfig_GetClothPrimitive02
| function XEPhysicsClothConfig GetIsModify | ( | ) |
获取是否有改动
| function XEPhysicsClothConfig GetMeshNameWithCloth | ( | aMeshName | ) |
获取所有带布料的mesh名称
| aMeshName | string[] |
| function XEPhysicsClothConfig GetMeshNameWithCloth | ( | ) |
XEPhysicsClothConfig_GetMeshNameWithCloth01
| function XEPhysicsClothConfig GetPreviewAnimatableModelComponent | ( | ) |
返回一个带动画的骨骼模型组件
| function XEPhysicsClothConfig GetWindDir | ( | ) |
获取风的方向
| function XEPhysicsClothConfig GetWindSpeed | ( | ) |
获取风的速度
| function XEPhysicsClothConfig GetWorld | ( | ) |
获取当前世界
| function XEPhysicsClothConfig IsModeBindCloth | ( | szClothPath | ) |
判断是否是模型绑定的布料
| szClothPath | string 布料的地址 |
| function XEPhysicsClothConfig new | ( | ) |
@type string
XEPhysicsClothConfig_new00
@type XEClothParam[] XEPhysicsClothConfig_XEClothParam_new00
| function XEPhysicsClothConfig__XEClothParam new | ( | szName | ) |
XEPhysicsClothConfig_XEClothParam_new01
| szName | string |
| function XEPhysicsClothConfig Release | ( | ) |
释放当前 XEUserNodeInstance 的根组件资源和扩展参数列表对象
| function XEPhysicsClothConfig RemoveAndReleaseClothAssetFromMesh | ( | szMeshName | ) |
从模型指定的 mesh 上移除布料并释放
| szMeshName | string 模型上mesh名称 |
| function XEPhysicsClothConfig SetModify | ( | bModify | ) |
设置是否有改动
| bModify | boolean 是否改动 |
| function XEPhysicsClothConfig SetWindDir | ( | vDir | ) |
设置风的方向
| vDir | XVECTOR3 风的方向. |
| function XEPhysicsClothConfig SetWindSpeed | ( | fSpeed | ) |
设置风的速度
| fSpeed | number 风的速度. |
| function XEPhysicsClothConfig SetWorld | ( | pWorld | ) |
| XEPhysicsClothConfig = {} |
1.8.15