C# Class ThreeJSExporterScript, 3dsMaxWebGL

Datei anzeigen Open project: tparisi/3dsMaxWebGL

Public Methods

Method Description
CameraToString ( int tab, StringBuilder sb, GameObject o, bool &first ) : void
GeometryToEmbedString ( int tab, StringBuilder sb, GameObject o, bool &first ) : void
GeometryToString ( int tab, StringBuilder sb, GameObject o, bool &first, bool embed ) : void
LightToString ( int tab, StringBuilder sb, GameObject o, bool &first ) : void
MaterialToEmbedString ( int tab, StringBuilder sb, Material mat, bool &first ) : void
MaterialToString ( int tab, StringBuilder sb, Material mat, bool &first ) : void
MaterialsToString ( int tab, StringBuilder sb, GameObject o, bool &first, bool embed ) : void
MeshToString ( int tab, StringBuilder sb, MeshFilter mf, bool &first, bool embed ) : void
ObjectToEmbedString ( int tab, StringBuilder sb, GameObject o, bool &first ) : void
ObjectToString ( int tab, StringBuilder sb, GameObject o, bool &first ) : void
SceneToFolder ( string foldername, bool append ) : void
SceneToString ( ) : string
TextureToString ( int tab, StringBuilder sb, Texture tx, bool &first ) : void
TexturesToString ( int tab, StringBuilder sb, GameObject o, bool &first ) : void

Private Methods

Method Description
ColorToLong ( Color v ) : long
ColorToString ( Color v ) : string
MaterialToTypeString ( Material mat ) : string
Scale3ToString ( Vector3 v ) : string
TabAppend ( int tab, StringBuilder sb, string val ) : void
Vec2ToString ( Vector2 v ) : string
Vec3ToString ( Vector3 v ) : string

Method Details

CameraToString() public static method

public static CameraToString ( int tab, StringBuilder sb, GameObject o, bool &first ) : void
tab int
sb StringBuilder
o GameObject
first bool
return void

GeometryToEmbedString() public static method

public static GeometryToEmbedString ( int tab, StringBuilder sb, GameObject o, bool &first ) : void
tab int
sb StringBuilder
o GameObject
first bool
return void

GeometryToString() public static method

public static GeometryToString ( int tab, StringBuilder sb, GameObject o, bool &first, bool embed ) : void
tab int
sb StringBuilder
o GameObject
first bool
embed bool
return void

LightToString() public static method

public static LightToString ( int tab, StringBuilder sb, GameObject o, bool &first ) : void
tab int
sb StringBuilder
o GameObject
first bool
return void

MaterialToEmbedString() public static method

public static MaterialToEmbedString ( int tab, StringBuilder sb, Material mat, bool &first ) : void
tab int
sb StringBuilder
mat Material
first bool
return void

MaterialToString() public static method

public static MaterialToString ( int tab, StringBuilder sb, Material mat, bool &first ) : void
tab int
sb StringBuilder
mat Material
first bool
return void

MaterialsToString() public static method

public static MaterialsToString ( int tab, StringBuilder sb, GameObject o, bool &first, bool embed ) : void
tab int
sb StringBuilder
o GameObject
first bool
embed bool
return void

MeshToString() public static method

public static MeshToString ( int tab, StringBuilder sb, MeshFilter mf, bool &first, bool embed ) : void
tab int
sb StringBuilder
mf UnityEngine.MeshFilter
first bool
embed bool
return void

ObjectToEmbedString() public static method

public static ObjectToEmbedString ( int tab, StringBuilder sb, GameObject o, bool &first ) : void
tab int
sb StringBuilder
o GameObject
first bool
return void

ObjectToString() public static method

public static ObjectToString ( int tab, StringBuilder sb, GameObject o, bool &first ) : void
tab int
sb StringBuilder
o GameObject
first bool
return void

SceneToFolder() public static method

public static SceneToFolder ( string foldername, bool append ) : void
foldername string
append bool
return void

SceneToString() public static method

public static SceneToString ( ) : string
return string

TextureToString() public static method

public static TextureToString ( int tab, StringBuilder sb, Texture tx, bool &first ) : void
tab int
sb StringBuilder
tx Texture
first bool
return void

TexturesToString() public static method

public static TexturesToString ( int tab, StringBuilder sb, GameObject o, bool &first ) : void
tab int
sb StringBuilder
o GameObject
first bool
return void