Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Classes | Static Public Member Functions | Static Public Attributes | List of all members
PartToolsEditor.PartWriter Class Reference

Contains the methods to write mu files More...

Classes

class  TextureDummy
 
class  TextureDummyList
 

Static Public Member Functions

static void Write (string modelName, string filePath, string filename, string fileExtension, Transform target, bool copyTexturesToTargetDir, bool convertTextures, bool renameTextures, PartTools.TextureFormat textureFormat)
 Writes a gameobject heirarchy to a mu file and can copy/rename textures More...
 

Static Public Attributes

static int fileVersion = 2
 

Detailed Description

Contains the methods to write mu files

Member Function Documentation

static void PartToolsEditor.PartWriter.Write ( string  modelName,
string  filePath,
string  filename,
string  fileExtension,
Transform  target,
bool  copyTexturesToTargetDir,
bool  convertTextures,
bool  renameTextures,
PartTools.TextureFormat  textureFormat 
)
inlinestatic

Writes a gameobject heirarchy to a mu file and can copy/rename textures

Parameters
filenameFilename
targetTarget gameobject to write
copyTexturesToTargetDirCopy textures to target directory
renameTexturesRename textures with respect to target name

< write header

< write shared materials

Member Data Documentation

int PartToolsEditor.PartWriter.fileVersion = 2
static

The documentation for this class was generated from the following file: