Drag[en]gine Script Module DragonScript
1.23
|
State machine action updating parameter table entry. More...
Classes | |
enum | Operator |
Update operator. More... | |
Public Member Functions | |
float | getDefaultValue () |
Default value if entry is not null. More... | |
ParameterTableEntry | getEntry () |
Parameter table entry to update. More... | |
ParameterTableEntry | getEntryUpdateValue () |
Parameter table entry to use as update value. More... | |
Operator | getOperator () |
Update operator from eOperators. More... | |
String | getParameterNameUpdateValue () |
Use named parameter as source of update value if not null. More... | |
float | getUpdateValue () |
Default update value. More... | |
SMActionParameterTable | new (ParameterTableEntry entry, float defaultValue, Operator operator, float updateValue) |
Create action. More... | |
SMActionParameterTable | new (ParameterTableEntry entry, float defaultValue, Operator operator, float updateValue, String parameterNameUpdateValue) |
Create action. More... | |
SMActionParameterTable | new (ParameterTableEntry entry, float defaultValue, Operator operator, ParameterTableEntry entryUpdateValue, float updateValue, String parameterNameUpdateValue) |
Create action. More... | |
void | runAction (SMContext context, Dictionary parameters) |
Run action. More... | |
void | setDefaultValue (float defaultValue) |
Set default value if entry is not null. More... | |
void | setEntry (ParameterTableEntry entry) |
Set parameter table entry to update. More... | |
void | setEntryUpdateValue (ParameterTableEntry entry) |
Set parameter table entry to use as update value. More... | |
void | setOperator (Operator operator) |
Set update operator from eOperators. More... | |
void | setParameterNameUpdateValue (String name) |
Use named parameter as source of update value if not null. More... | |
void | setUpdateValue (float updateValue) |
Set default update value. More... | |
State machine action updating parameter table entry.
float Dragengine.StateMachineSystem.SMActionParameterTable.getDefaultValue | ( | ) |
Default value if entry is not null.
ParameterTableEntry Dragengine.StateMachineSystem.SMActionParameterTable.getEntry | ( | ) |
Parameter table entry to update.
ParameterTableEntry Dragengine.StateMachineSystem.SMActionParameterTable.getEntryUpdateValue | ( | ) |
Parameter table entry to use as update value.
Operator Dragengine.StateMachineSystem.SMActionParameterTable.getOperator | ( | ) |
Update operator from eOperators.
String Dragengine.StateMachineSystem.SMActionParameterTable.getParameterNameUpdateValue | ( | ) |
Use named parameter as source of update value if not null.
float Dragengine.StateMachineSystem.SMActionParameterTable.getUpdateValue | ( | ) |
Default update value.
SMActionParameterTable Dragengine.StateMachineSystem.SMActionParameterTable.new | ( | ParameterTableEntry | entry, |
float | defaultValue, | ||
Operator | operator, | ||
float | updateValue | ||
) |
Create action.
SMActionParameterTable Dragengine.StateMachineSystem.SMActionParameterTable.new | ( | ParameterTableEntry | entry, |
float | defaultValue, | ||
Operator | operator, | ||
float | updateValue, | ||
String | parameterNameUpdateValue | ||
) |
Create action.
SMActionParameterTable Dragengine.StateMachineSystem.SMActionParameterTable.new | ( | ParameterTableEntry | entry, |
float | defaultValue, | ||
Operator | operator, | ||
ParameterTableEntry | entryUpdateValue, | ||
float | updateValue, | ||
String | parameterNameUpdateValue | ||
) |
Create action.
void Dragengine.StateMachineSystem.SMActionParameterTable.runAction | ( | SMContext | context, |
Dictionary | parameters | ||
) |
Run action.
parameters | Dictionary with parameters of type String key and String value. Do not change the content of the dictionary as it is shared. |
Implements Dragengine.StateMachineSystem.SMAction.
void Dragengine.StateMachineSystem.SMActionParameterTable.setDefaultValue | ( | float | defaultValue | ) |
Set default value if entry is not null.
void Dragengine.StateMachineSystem.SMActionParameterTable.setEntry | ( | ParameterTableEntry | entry | ) |
Set parameter table entry to update.
void Dragengine.StateMachineSystem.SMActionParameterTable.setEntryUpdateValue | ( | ParameterTableEntry | entry | ) |
Set parameter table entry to use as update value.
void Dragengine.StateMachineSystem.SMActionParameterTable.setOperator | ( | Operator | operator | ) |
Set update operator from eOperators.
void Dragengine.StateMachineSystem.SMActionParameterTable.setParameterNameUpdateValue | ( | String | name | ) |
Use named parameter as source of update value if not null.
void Dragengine.StateMachineSystem.SMActionParameterTable.setUpdateValue | ( | float | updateValue | ) |
Set default update value.