Beispiel #1
0
 public NewMesh(Scene.RenderScene scene, Resource.ResourceHandle <Resource.FlverResource> res)
 {
     RenderScene = scene;
     Resource    = res;
     Resource.Acquire();
     res.AddResourceEventListener(this);
 }
Beispiel #2
0
 public NvmMesh(NvmMesh mesh)
 {
     RenderScene = mesh.RenderScene;
     Resource    = mesh.Resource;
     Resource.Acquire();
     Resource.AddResourceEventListener(this);
 }
Beispiel #3
0
 public NewMesh(NewMesh mesh)
 {
     RenderScene = mesh.RenderScene;
     DrawFilter  = mesh.DrawFilter;
     Resource    = mesh.Resource;
     Resource.Acquire();
     Resource.AddResourceEventListener(this);
 }
Beispiel #4
0
 public NvmMesh(Scene.RenderScene scene, Resource.ResourceHandle <Resource.NVMNavmeshResource> res, bool useSecondUV, Dictionary <string, int> boneIndexRemap = null,
                bool ignoreStaticTransforms = false)
 {
     RenderScene = scene;
     Resource    = res;
     Resource.Acquire();
     res.AddResourceEventListener(this);
 }
Beispiel #5
0
 public CollisionMesh(Scene.RenderScene scene, Resource.ResourceHandle <Resource.HavokCollisionResource> res, bool windcw)
 {
     RenderScene = scene;
     Resource    = res;
     Resource.Acquire();
     res.AddResourceEventListener(this);
     WindCW = windcw;
 }
Beispiel #6
0
 public override void Acquire()
 {
     _resource.Acquire();
 }