Drag[en]gine Script Module DragonScript
1.23
|
Behavior tree 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... | |
BTActionParameterTable | new (ParameterTableEntry entry, float defaultValue, Operator operator, float updateValue) |
Create action. More... | |
BTActionParameterTable | new (ParameterTableEntry entry, float defaultValue, Operator operator, float updateValue, String parameterNameUpdateValue) |
Create action. More... | |
BTActionParameterTable | new (ParameterTableEntry entry, float defaultValue, Operator operator, ParameterTableEntry entryUpdateValue, float updateValue, String parameterNameUpdateValue) |
Create action. More... | |
BTResult | runAction (BTContext 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... | |
Public Attributes | |
float | pDefaultValue |
ParameterTableEntry | pEntry |
ParameterTableEntry | pEntryUpdateValue |
Operator | pOperator |
String | pParameterNameUpdateValue |
float | pUpdateValue |
Behavior tree action updating parameter table entry.
This action always returns BTResult.success.
float Dragengine.BehaviorTreeSystem.BTActionParameterTable.getDefaultValue | ( | ) |
Default value if entry is not null.
ParameterTableEntry Dragengine.BehaviorTreeSystem.BTActionParameterTable.getEntry | ( | ) |
Parameter table entry to update.
ParameterTableEntry Dragengine.BehaviorTreeSystem.BTActionParameterTable.getEntryUpdateValue | ( | ) |
Parameter table entry to use as update value.
Operator Dragengine.BehaviorTreeSystem.BTActionParameterTable.getOperator | ( | ) |
Update operator from eOperators.
String Dragengine.BehaviorTreeSystem.BTActionParameterTable.getParameterNameUpdateValue | ( | ) |
Use named parameter as source of update value if not null.
float Dragengine.BehaviorTreeSystem.BTActionParameterTable.getUpdateValue | ( | ) |
Default update value.
BTActionParameterTable Dragengine.BehaviorTreeSystem.BTActionParameterTable.new | ( | ParameterTableEntry | entry, |
float | defaultValue, | ||
Operator | operator, | ||
float | updateValue | ||
) |
Create action.
BTActionParameterTable Dragengine.BehaviorTreeSystem.BTActionParameterTable.new | ( | ParameterTableEntry | entry, |
float | defaultValue, | ||
Operator | operator, | ||
float | updateValue, | ||
String | parameterNameUpdateValue | ||
) |
Create action.
BTActionParameterTable Dragengine.BehaviorTreeSystem.BTActionParameterTable.new | ( | ParameterTableEntry | entry, |
float | defaultValue, | ||
Operator | operator, | ||
ParameterTableEntry | entryUpdateValue, | ||
float | updateValue, | ||
String | parameterNameUpdateValue | ||
) |
Create action.
BTResult Dragengine.BehaviorTreeSystem.BTActionParameterTable.runAction | ( | BTContext | 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.BehaviorTreeSystem.BTAction.
void Dragengine.BehaviorTreeSystem.BTActionParameterTable.setDefaultValue | ( | float | defaultValue | ) |
Set default value if entry is not null.
void Dragengine.BehaviorTreeSystem.BTActionParameterTable.setEntry | ( | ParameterTableEntry | entry | ) |
Set parameter table entry to update.
void Dragengine.BehaviorTreeSystem.BTActionParameterTable.setEntryUpdateValue | ( | ParameterTableEntry | entry | ) |
Set parameter table entry to use as update value.
void Dragengine.BehaviorTreeSystem.BTActionParameterTable.setOperator | ( | Operator | operator | ) |
Set update operator from eOperators.
void Dragengine.BehaviorTreeSystem.BTActionParameterTable.setParameterNameUpdateValue | ( | String | name | ) |
Use named parameter as source of update value if not null.
void Dragengine.BehaviorTreeSystem.BTActionParameterTable.setUpdateValue | ( | float | updateValue | ) |
Set default update value.
float Dragengine.BehaviorTreeSystem.BTActionParameterTable.pDefaultValue |
ParameterTableEntry Dragengine.BehaviorTreeSystem.BTActionParameterTable.pEntry |
ParameterTableEntry Dragengine.BehaviorTreeSystem.BTActionParameterTable.pEntryUpdateValue |
Operator Dragengine.BehaviorTreeSystem.BTActionParameterTable.pOperator |
String Dragengine.BehaviorTreeSystem.BTActionParameterTable.pParameterNameUpdateValue |
float Dragengine.BehaviorTreeSystem.BTActionParameterTable.pUpdateValue |