Workspace 6.21.5
|
Creates a new RGBA state on the input MeshModelInterface. This output state contains a single RGBA value for each node in the Mesh, where the Red, Green, Blue and Alpha components of this value are extracted from separate states that already exist on the model. This is useful for creating a single color state for a MeshModel that was previously defined with separate states for each color channel.
Inputs: | |||
---|---|---|---|
Model | Modified-in-place | CSIRO::Mesh::MeshModelInterface | |
Red state name | QString | ||
Green state name | QString | ||
Blue state name | QString | ||
Alpha state name | QString | If left empty all nodes will be set to full alpha | |
Output state name | QString | ||
Outputs: | |||
Model with RGBA state | CSIRO::Mesh::MeshModelInterface |