protected override async System.Threading.Tasks.Task <ResourceInfo> CreateResourceInfoFromResourceOverride(RName resourceName)
        {
            await EngineNS.Thread.AsyncDummyClass.DummyFunc();

            var retValue = new MeshClusterResourceInfo();

            retValue.ResourceName = resourceName;
            retValue.ResourceType = "MeshCluster";

            return(retValue);
        }
        public async System.Threading.Tasks.Task <ResourceInfo> CreateEmptyResource(string Absfolder, string rootFolder, EditorCommon.Resources.IResourceCreateData createData)
        {
            await EngineNS.Thread.AsyncDummyClass.DummyFunc();

            var result = new MeshClusterResourceInfo();

            var data   = createData as MeshClusterCreateData;
            var reName = EngineNS.CEngine.Instance.FileManager._GetRelativePathFromAbsPath(Absfolder + "/" + data.ResourceName, rootFolder);

            reName += EngineNS.CEngineDesc.PhysicsMaterial;
            result.ResourceName = EngineNS.RName.GetRName(reName, data.RNameType);

            //var mtl = EngineNS.CEngine.Instance.PhyContext.CreateMaterial(data.StaticFriction, data.DynamicFriction, data.Restitution);
            //mtl.Save2Xnd(result.ResourceName);

            return(result);
        }