Set-Rgba-Color Action
From AgentSheetsWiki
Definition: | The Set-Rgba-Color action: directly sets the RGBA values of an agent. |
Parameters: |
Red: number or VAT Formula for Red: 0.0..1.0 Green: number or VAT Formula for Green: 0.0..1.0 Blue: number or VAT Formula for Blue: 0.0..1.0 Alpha: number or VAT Formula for transparency: 0.0..1.0 where 0.0 = invisible; 1.0 = opaque |
Example: |
The values for each color component (RGBA: Red, Green, Blue, Alpha) are between 0.0 and 1.0.