Difference between revisions of "Set-Rgba-Color Action"

From AgentCubes
Jump to navigation Jump to search
imported>Mike
imported>Corrina
Line 1: Line 1:
[[image:Set Rgba color.png|250px]]
+
[[Image:Set Rgba color.png|250px|Set Rgba color.png]]  
  
<table cellpadding="10" cellspacing="0" border="0" width="100%">
+
{| cellpadding="10" cellspacing="0" border="0" width="100%"
<tr>
+
|-
<td align="left" valign="top" width="80"><b>Definition:</b></td>
+
| align="left" valign="top" width="80" | '''Definition:'''
<td align="left" valign="top" width="100%">The <strong>Set-Rgba-Color</strong> action .................</td>
+
| align="left" valign="top" width="100%" | The '''Set-Rgba-Color''' action: ''directly sets the RGBA values of an agent.''
</tr>
+
|-
<tr>
+
| align="left" valign="top" width="80" | '''Parameters:'''
<td align="left" valign="top" width="80"><b>Parameters:</b></td>
+
| align="left" valign="top" width="100%" |
<td align="left" valign="top" width="100%">...........</td>
+
Red: ''number or VAT Formula for Red''
</tr>
 
<tr>
 
<td align="left" valign="top" width="80"><b>Example:</b></td>
 
<td align="left" valign="top" width="100%"></td>
 
</tr>
 
  
</table>
+
Green: ''number or VAT Formula for Green''
  
 +
Blue: ''number or VAT Formula for Blue''
 +
 +
Alpha: ''number or VAT Formula for transparency''
 +
 +
|-
 +
| align="left" valign="top" width="80" | '''Example:'''
 +
| align="left" valign="top" width="100%" |
 +
|}
  
 
[[Category:AgentCubes_Actions]]
 
[[Category:AgentCubes_Actions]]

Revision as of 23:46, 20 April 2012

Set Rgba color.png

Definition: The Set-Rgba-Color action: directly sets the RGBA values of an agent.
Parameters:

Red: number or VAT Formula for Red

Green: number or VAT Formula for Green

Blue: number or VAT Formula for Blue

Alpha: number or VAT Formula for transparency

Example: