C# Class TrackBuildRUtil.OBJExporter

显示文件 Open project: Alx666/ProjectPhoenix

Public Methods

Method Description
Export ( string folder, string filename, Mesh mesh, ExportMaterial textures, bool copyTextures ) : bool

Private Methods

Method Description
Clear ( ) : void
CreateTargetFolder ( ) : bool
MaterialsToFile ( ExportMaterial>.Dictionary materialList, string folder, string filename ) : void
MeshToFile ( string folder, string filename ) : void
MeshToString ( ExportMaterial>.Dictionary materialList ) : string
PrepareFileWrite ( ) : ExportMaterial>.Dictionary

Method Details

Export() public static method

public static Export ( string folder, string filename, Mesh mesh, ExportMaterial textures, bool copyTextures ) : bool
folder string
filename string
mesh UnityEngine.Mesh
textures ExportMaterial
copyTextures bool
return bool