class Mesh3DLayer

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
class Mesh3DLayer : public MohoLayer {
  bool IsPoserLayer();
  void SetSourceMesh(const char *path);
  const char *SourceMesh();
  void SetEdgeOffset(real offset);
  real EdgeOffset();
  PoserActorGroup *GetPoserActorGroup(int32 id);
  void UpdatePoserParameters();
  void SetSelectedPoserActorGroup(int32 id);
  int32 SelectedPoserActorGroup();
 
  Mesh3DOptions  f3DOptions;
};