Behavior element behavior adding storing supported interactions.
More...
|
| static bool | checkHasInteraction (BehaviorElement element, String interaction) |
| | Helper function to check for element supporting interaction.
|
| |
| static bool | checkHasInteraction (ECBehaviorInstance behavior, String interaction) |
| |
| static bool | checkInteraction (BehaviorElement element, String interaction, Array parameters, BehaviorElement source) |
| | Helper function to check for element query interaction result.
|
| |
| static bool | checkInteraction (BehaviorElement element, String interaction, String parameters, BehaviorElement source) |
| |
| static bool | checkInteraction (ECBehaviorInstance behavior, String interaction, String parameters, BehaviorElement source) |
| |
| static bool | checkInteractionBTSM (ECBehaviorInstance behavior, Dictionary parameters, String prefix, BehaviorElement source) |
| |
| static ECBehaviorInteraction | getBehaviorIn (BehaviorElementClass eclass) |
| | Get behavior in element class or null if absent.
|
| |
Behavior element behavior adding storing supported interactions.
This behavior uses no other behaviors.
This behavior does not require the element class to be persistable (setPersistable).
- See also
- https://developer.dragondreams.ch/wiki/doku.php/dragengine:modules:dragonscript:behavior_interaction
◆ checkHasInteraction() [1/2]
| static bool Dragengine.Scenery.ECBehaviorInteraction.checkHasInteraction |
( |
BehaviorElement |
element, |
|
|
String |
interaction |
|
) |
| |
|
static |
Helper function to check for element supporting interaction.
Returns true if element is not null, element has behavior instance and instance has named interaction.
◆ checkHasInteraction() [2/2]
| static bool Dragengine.Scenery.ECBehaviorInteraction.checkHasInteraction |
( |
ECBehaviorInstance |
behavior, |
|
|
String |
interaction |
|
) |
| |
|
static |
◆ checkInteraction() [1/3]
| static bool Dragengine.Scenery.ECBehaviorInteraction.checkInteraction |
( |
BehaviorElement |
element, |
|
|
String |
interaction, |
|
|
Array |
parameters, |
|
|
BehaviorElement |
source |
|
) |
| |
|
static |
Helper function to check for element query interaction result.
Returns true if element is not null, element has behavior instance, instance has named interaction and interaction returns true.
◆ checkInteraction() [2/3]
| static bool Dragengine.Scenery.ECBehaviorInteraction.checkInteraction |
( |
BehaviorElement |
element, |
|
|
String |
interaction, |
|
|
String |
parameters, |
|
|
BehaviorElement |
source |
|
) |
| |
|
static |
◆ checkInteraction() [3/3]
◆ checkInteractionBTSM()
| static bool Dragengine.Scenery.ECBehaviorInteraction.checkInteractionBTSM |
( |
ECBehaviorInstance |
behavior, |
|
|
Dictionary |
parameters, |
|
|
String |
prefix, |
|
|
BehaviorElement |
source |
|
) |
| |
|
static |
◆ getBehaviorIn()
Get behavior in element class or null if absent.
◆ instance()
Get instance in element from owner element class.
◆ new()
The documentation for this class was generated from the following file: