Ejemplo n.º 1
0
 public static void Run(MyVoxelMap voxelMap, Vector3[] vertexes, MyTriangleVertexIndices[] triangles, MyvoxelImportAction importAction, Matrix modelWorld, MyMwcVoxelMaterialsEnum? voxelMaterial, ref bool changed)
 {
     MyVoxelImport voxelImport = new MyVoxelImport(voxelMap, vertexes, triangles, importAction, modelWorld, voxelMaterial, ref changed);
 }
Ejemplo n.º 2
0
 public static void Run(MyVoxelMap voxelMap, MyModel model, MyvoxelImportAction importAction, Matrix modelWorld, float modelScale, MyMwcVoxelMaterialsEnum? voxelMaterial, ref bool changed)
 {
     MyVoxelImport voxelImport = new MyVoxelImport(voxelMap, model, importAction, modelWorld, modelScale, voxelMaterial, ref changed);
 }
Ejemplo n.º 3
0
 //  Use this static method do one-time import of a voxel map
 public static void Run(MyVoxelMap voxelMap, MyModel model)
 {
     MyVoxelImport voxelMapImport = new MyVoxelImport(voxelMap, model, MyVoxelImportOptions.None);
 }
Ejemplo n.º 4
0
 //  Use this static method do one-time import of a voxel map
 public static void Run(MyVoxelMap voxelMap, MyModelObj model, MyVoxelImportOptions importOptions)
 {
     MyVoxelImport voxelMapImport = new MyVoxelImport(voxelMap, model, importOptions);
 }
Ejemplo n.º 5
0
 //  Use this static method do one-time import of a voxel map
 public static void Run(MyVoxelMap voxelMap, string modelName, MyVoxelImportOptions importOptions)
 {
     MyVoxelImport voxelMapImport = new MyVoxelImport(voxelMap, modelName, importOptions);
 }