Purpose

The module BaseOwnerExample demonstrates how to implement an ML module that owns and parametrizes a Base object.

Windows

Default Panel

../../../Modules/GettingStarted/MLBaseCommunicationExample/mhelp/Images/Screenshots/BaseOwnerExample._default.png

Output Fields

outputMessenger

name: outputMessenger, type: MLBase

Parameter Fields

Visible Fields

Shape Type

name: shapeType, type: Enum, default: Cube

Defines the type of the rendered shape.

Values:

Title Name
Cube Cube
Sphere Sphere

Translation

name: translation, type: Vector3, default: 0 0 0

Sets the translation of the rendered shape.

Color

name: color, type: Color, default: 1 1 1

Sets the color of the rendered shape.

Diameter

name: diameter, type: Double, default: 1

Sets the diameter of the rendered shape.