|
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...
|
|
Definition at line 36 of file FBXUnityMeshGetter.cs.
◆ 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
-
gameObj | GameObject Parent. |
materials | Every Material in the parent that can be accessed. |
objects | The StringBuidler to create objects for the FBX file. |
connections | The StringBuidler to create connections for the FBX file. |
parentObject | Parent object, if left null this is the top parent. |
parentModelId | Parent 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: