Tanoda
UnityFBXExporter.FBXUnityMeshGetter Class Reference

Static Public Member Functions

static long GetMeshToString (GameObject gameObj, Material[] materials, ref StringBuilder objects, ref StringBuilder connections, GameObject parentObject=null, long parentModelId=0)
 Gets all the meshes and outputs to a string (even grabbing the child of each gameObject) More...
 

Detailed Description

Definition at line 36 of file FBXUnityMeshGetter.cs.

Member Function Documentation

◆ GetMeshToString()

static long UnityFBXExporter.FBXUnityMeshGetter.GetMeshToString ( GameObject  gameObj,
Material[]  materials,
ref StringBuilder  objects,
ref StringBuilder  connections,
GameObject  parentObject = null,
long  parentModelId = 0 
)
static

Gets all the meshes and outputs to a string (even grabbing the child of each gameObject)

Returns
The mesh to string.
Parameters
gameObjGameObject Parent.
materialsEvery Material in the parent that can be accessed.
objectsThe StringBuidler to create objects for the FBX file.
connectionsThe StringBuidler to create connections for the FBX file.
parentObjectParent object, if left null this is the top parent.
parentModelIdParent model id, 0 if top parent.

Definition at line 49 of file FBXUnityMeshGetter.cs.


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