Difference between revisions of "Set-Rgba-Color Action"
Jump to navigation
Jump to search
imported>Mike |
imported>Repenning |
||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
− | [[ | + | [[Image:Set Rgba color.png|250px|Set Rgba color.png]] |
− | + | {| cellpadding="10" cellspacing="0" border="0" width="100%" | |
− | + | |- | |
− | + | | align="left" valign="top" width="80" | '''Definition:''' | |
− | + | | align="left" valign="top" width="100%" | The '''Set-Rgba-Color''' action: ''directly sets the RGBA values of an agent.'' | |
− | + | |- | |
− | + | | align="left" valign="top" width="80" | '''Parameters:''' | |
− | + | | align="left" valign="top" width="100%" | | |
− | + | [[VAT Formula parameter|Red]]: ''number or VAT Formula for Red: 0.0..1.0'' | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | [[VAT Formula parameter|Green]]: ''number or VAT Formula for Green: 0.0..1.0'' | |
+ | [[VAT Formula parameter|Blue]]: ''number or VAT Formula for Blue: 0.0..1.0'' | ||
+ | |||
+ | [[VAT Formula parameter|Alpha]]: ''number or VAT Formula for transparency: 0.0..1.0 where 0.0 = invisible; 1.0 = opaque'' | ||
+ | |||
+ | |- | ||
+ | | align="left" valign="top" width="80" | '''Example:''' | ||
+ | | align="left" valign="top" width="100%" | | ||
+ | |} | ||
+ | |||
+ | The values for each color component (RGBA: Red, Green, Blue, Alpha) are between 0.0 and 1.0. | ||
[[Category:AgentCubes_Actions]] | [[Category:AgentCubes_Actions]] |
Latest revision as of 21:54, 29 June 2016
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.