Class: Mesh3DLayer

Parent class: MohoLayer

Member Functions


void SetSourceMesh(path)

Loads a 3D OBJ file from disk as the layer's 3D mesh.

Return value: none path (string): file path to an OBJ file
string SourceMesh()

Returns the path to the 3D OBJ file used by this layer.

Return value (string): file path to an OBJ file
void SetEdgeOffset(offset)

Sets the edge offset used when drawing the edges of this 3D object.

Return value: none offset (float): edge offset value
float EdgeOffset()

Returns the edge offset used when drawing the edges of this 3D object.

Return value (float): edge offset value