OOF2: The Manual

Name

OOF.LoadData.Skeleton.AddMaterialToGroup — Add a Material to an Element group.

Synopsis

OOF.LoadData.Skeleton.AddMaterialToGroup(skeleton, group, material)

Details

  • Parent Menu: OOF.LoadData.Skeleton
  • Callback: function _addMaterialToElementGroup in module ooflib.engine.IO.skeletonIO
  • Parameters:

    skeleton
    Type: The path to an existing Skeleton object.
    group
    Name of the element group Type: A character string.
    material
    Name of the material. Type: A character string.

Description

Add a Material to an Element group in a Skeleton that is being loaded from a data file. The material and group definitions (via OOF.LoadData.Material and OOF.LoadData.Skeleton.ElementGroup) must precede this command in the file. This command is ony used in data files and is not directly accessible in the OOF2 user interface.