*materials()
Starts a material block.
Syntax
*materials (card_image_name)
Type
HyperMesh Template Command
Description
Starts a material block. Materials with a カードイメージ matching the specified カードイメージ name are considered for the block.
This command must be accompanied by an *output() command at the end of the block.
Inputs
- card_image_name
- A 32-character string enclosed in double quotes that defines the カードイメージ name of the materials in the block. If specified as double quotes "", all materials are considered for the block.
Example
To write out all materials with the format:
*material(id,"name",color)
*materials("","")
*format()
*string("*material(")
*field(integer,id,0)
*string(",")
*field(quotedstring,name,0)
*string(",")
*field(integer,color,0)
*string(")")
*end()
*output()