Exemplo n.º 1
0
 public bool ImportScene(ref ManagedScene pScene, string pPath)
 {
     if (!Importer_Initialize(m_nativeImporter, pPath))
     {
         return(false);
     }
     if (!Importer_Import(m_nativeImporter, pScene.NativeObject))
     {
         return(false);
     }
     return(true);
 }
Exemplo n.º 2
0
        static void Main(string[] args)
        {
            ManagedManager manager = new ManagedManager();
            ManagedScene   scene   = new ManagedScene(manager, "test");

            if (manager.ImportScene(ref scene, "E:\\u3dmodel\\ttj.FBX\0"))
            {
                Console.WriteLine(scene.GetName());
                ManagedSceneNode root = scene.GetRootNode();
                loopTheNodes(root);
            }
            Console.ReadLine();
        }
Exemplo n.º 3
0
 public ManagedSceneNode(ManagedScene pScene, string pName)
 {
     m_nativeObject = SceneNode_Create(pScene.NativeObject, pName);
 }