Tanoda
UnityFBXExporter.FBXUnityMaterialGetter Class Reference

Static Public Member Functions

static void GetAllMaterialsToString (GameObject gameObj, string newPath, bool copyMaterials, bool copyTextures, out Material[] materials, out string matObjects, out string connections)
 Finds all materials in a gameobject and writes them to a string that can be read by the FBX writer More...
 

Detailed Description

Definition at line 40 of file FBXUnityMaterialGetter.cs.

Member Function Documentation

◆ GetAllMaterialsToString()

static void UnityFBXExporter.FBXUnityMaterialGetter.GetAllMaterialsToString ( GameObject  gameObj,
string  newPath,
bool  copyMaterials,
bool  copyTextures,
out Material[]  materials,
out string  matObjects,
out string  connections 
)
static

Finds all materials in a gameobject and writes them to a string that can be read by the FBX writer

Parameters
gameObjParent GameObject being exported.
newPathThe path to export to.
materialsMaterials which were written to this fbx file.
matObjectsThe material objects to write to the file.
connectionsThe connections to write to the file.

Definition at line 51 of file FBXUnityMaterialGetter.cs.


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