IMHOTEP Framework
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Pages
Public Member Functions | Static Public Member Functions | Public Attributes | Properties | List of all members
MeshLoader Class Reference
Inheritance diagram for MeshLoader:
Inheritance graph
[legend]
Collaboration diagram for MeshLoader:
Collaboration graph
[legend]

Public Member Functions

void LoadFile (string pathToMeshJson)
 
void RemoveMesh (object obj=null)
 
Color matColorForMeshName (string meshName)
 

Static Public Member Functions

static string ColorToHex (Color32 color)
 
static Color HexToColor (string hex)
 

Public Attributes

GameObject meshNode
 

Properties

List< GameObject > MeshGameObjectContainers [get, set]
 

Detailed Description

Loads all meshs from a .blend file. The meshs are loaded in the background and split into little parts to avoid lagging. Every part of the mesh is placed frame by frame below the mesh node.

Definition at line 14 of file MeshLoader.cs.

Member Function Documentation

void MeshLoader.LoadFile ( string  pathToMeshJson)
inline

This method starts the loading of a .blend file

Parameters
pathToMeshJsonpath to a .blend file

Definition at line 72 of file MeshLoader.cs.

void MeshLoader.RemoveMesh ( object  obj = null)
inline

Removes all meshs below the mehsNode

Definition at line 275 of file MeshLoader.cs.

Member Data Documentation

GameObject MeshLoader.meshNode

Game object where the loaded meshs placed

Definition at line 17 of file MeshLoader.cs.


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