<m-group>

The m-group element can contain other MML tags, allowing all of them to be transformed as single item.

<m-group y="3" rz="45">
  <m-cube x="-1.5" color="red"></m-cube>
  <m-cube color="green"></m-cube>
  <m-cube x="1.5" color="blue"></m-cube>
</m-group>
    • A boolean that indicates whether the element should be drawn with debug information (e.g. axes helper). Default value is false.

    • The position of the element along the X-axis in meters. Default value is 0.

    • The position of the element along the Y-axis in meters. Default value is 0.

    • The position of the element along the Z-axis in meters. Default value is 0.

    • The rotation of the element around the X-axis in degrees. Default value is 0.

    • The rotation of the element around the Y-axis in degrees. Default value is 0.

    • The rotation of the element around the Z-axis in degrees. Default value is 0.

    • The scale of the element along the X-axis. Default value is 1.

    • The scale of the element along the Y-axis. Default value is 1.

    • The scale of the element along the Z-axis. Default value is 1.

    • Whether the element is visible (true) or hidden (false) in the scene. Default value is true.

    • The name of a bone in the parent element's skeletal mesh to which this element will be attached. If not specified, the element will attach to the origin of its parent.

    • A unique identifier for the element, used for selection and manipulation through scripting. It must be unique within the document.

    • A space-separated list of class names that can be used for scripting purposes.

This is a basic m-group with position properties.

<m-group y="4" z="5" x="1">
  <m-cube x="-1.5" color="red"></m-cube>
  <m-cube color="green"></m-cube>
  <m-cube x="1.5" color="blue"></m-cube>
</m-group>

This is a basic m-group with rotation properties.

<m-group y="3" rx="70" ry="56" rz="145">
  <m-cube x="-1.5" color="red"></m-cube>
  <m-cube color="green"></m-cube>
  <m-cube x="1.5" color="blue"></m-cube>
</m-group>

This is a basic m-group with scale properties.

<m-group y="3" sx="2" sz="5" sy="2">
  <m-cube x="-1.5" color="red"></m-cube>
  <m-cube color="green"></m-cube>
  <m-cube x="1.5" color="blue"></m-cube>
</m-group>
WEBUNREAL
m-group
debug
x
y
z
rx
ry
rz
sx
sy
sz
visible
socket
id
class