Workspace 6.21.5
CreateRgbaState

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.

  • Default label: "Create RGBA State"
  • Member of plug-in: Mesh
  • Catalogue path: Mesh
Inputs:
ModelModified-in-placeCSIRO::Mesh::MeshModelInterface

Red state nameQString

Green state nameQString

Blue state nameQString

Alpha state nameQStringIf left empty all nodes will be set to full alpha
Output state nameQString

Outputs:
Model with RGBA stateCSIRO::Mesh::MeshModelInterface