AssignVariableAction is a primitive action used to execute an AssignmentExpression. A min and max value can be set to limit the range of the variable assigned to. More...
Public Member Functions | |
| void | SetExpression (string expression) |
| Set the assignment expression using parseable text. | |
| override ActionResult | Execute (Agent agent, float deltaTime) |
| ActionResult.Execute Causes the AssignmentExpression to be evaluated and the variable to be updated and set into the current actionContext. | |
AssignVariableAction is a primitive action used to execute an AssignmentExpression. A min and max value can be set to limit the range of the variable assigned to.
| override ActionResult RAIN.Primitives.AssignVariableAction.Execute | ( | Agent | agent, |
| float | deltaTime | ||
| ) | [virtual] |
ActionResult.Execute Causes the AssignmentExpression to be evaluated and the variable to be updated and set into the current actionContext.
| agent | |
| deltaTime |
Reimplemented from RAIN.Action.Action.
| void RAIN.Primitives.AssignVariableAction.SetExpression | ( | string | expression | ) |
Set the assignment expression using parseable text.
| expression | The text expression to parse. See Representation.ExpressionParser. |