Ejemplo n.º 1
0
 public bool ExportScene(ref ManagedManager pManager, string pPath)
 {
     if (!Exporter_Initialize(m_nativeExporter, pPath))
     {
         return(false);
     }
     if (!Exporter_Export(m_nativeExporter, pManager.NativeObject))
     {
         return(false);
     }
     return(true);
 }
Ejemplo 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();
        }
Ejemplo n.º 3
0
 public ManagedGeometryConverter(ManagedManager pManager)
 {
     m_nativeObject = GeometryConverter_Create(pManager.NativeObject);
 }
Ejemplo n.º 4
0
 public ManagedScene(ManagedManager pManager, string pName)
 {
     m_nativeObject = Scene_Create(pManager.NativeObject, pName);
 }