Drag[en]gine Script Module DragonScript 1.32.1
Loading...
Searching...
No Matches
Dragengine.Utils.BehaviorFactoryHelper Class Reference

Helper class for BehaviorFactor implementations. More...

Inheritance diagram for Dragengine.Utils.BehaviorFactoryHelper:

Public Member Functions

ECBehaviorActorAnimated actorAnimated (BehaviorElementClass eclass, Dictionary parameters, String name, String defaultId)
 Actor animated behavior.
 
void addActorFactories (BehaviorFactoryList factories)
 Add actor behavior factories to factory list.
 
void addAllAttachableFactories (AttachableBehaviorFactoryList factories)
 Add all attachable behavior factories to factory list.
 
void addAllFactories (BehaviorFactoryList factories)
 Add all behavior factories to factory list.
 
void addAnimatedFactories (BehaviorFactoryList factories)
 Add animated behavior factories to factory list.
 
void addAttachFactories (BehaviorFactoryList factories)
 Add attach behavior factories to factory list.
 
void addBehaviorTreeFactories (BehaviorFactoryList factories)
 Add behavior tree behavior factories to factory list.
 
void addCommonAttachableFactories (AttachableBehaviorFactoryList factories)
 Add common attachable behavior factories to factory list.
 
void addCommonFactories (BehaviorFactoryList factories)
 Add common behavior factories to factory list.
 
void addConversationFactories (BehaviorFactoryList factories)
 Add conversation behavior factories to factory list.
 
void addDynamicSkinFactories (BehaviorFactoryList factories)
 Add dynamic skin behavior factories to factory list.
 
void addEffectFactories (BehaviorFactoryList factories)
 Add effect behavior factories to factory list.
 
void addInteractionFactories (BehaviorFactoryList factories)
 Add interaction behavior factories to factory list.
 
void addInventoryFactories (BehaviorFactoryList factories)
 Add inventory behavior factories to factory list.
 
void addNetworkFactories (BehaviorFactoryList factories)
 Add network behavior factories to factory list.
 
void addPlayerFactories (BehaviorFactoryList factories)
 Add player behavior factories to factory list.
 
void addRailFactories (BehaviorFactoryList factories)
 Add rail behavior factories to factory list.
 
void addSkyFactories (BehaviorFactoryList factories)
 Add sky behavior factories to factory list.
 
void addSoundFactories (BehaviorFactoryList factories)
 Add sound behavior factories to factory list.
 
void addTriggerFactories (BehaviorFactoryList factories)
 Add trigger behavior factories to factory list.
 
void addVRFactories (BehaviorFactoryList factories)
 Add VR behavior factories to factory list.
 
void allBehaviorTrees (ECComposeBTSM btsm, BehaviorElementClass eclass, Dictionary parameters)
 All behavior tree behaviors using parameter "behaviorTrees".
 
void allStateMachines (ECComposeBTSM btsm, BehaviorElementClass eclass, Dictionary parameters)
 All state machine behaviors using parameter "stateMachines".
 
ECBehaviorAnimated animated (BehaviorElementClass eclass, Dictionary parameters, String name, String defaultId)
 Animated behavior.
 
ECBehaviorBehaviorTree behaviorTree (BehaviorElementClass eclass, Dictionary parameters, String name, String defaultId)
 Behavior tree behavior.
 
BindingManager bindingManager (String value)
 Binding manager matching value.
 
ECBehaviorCamera camera (BehaviorElementClass eclass, Dictionary parameters, String name, String defaultId)
 Camera behavior.
 
CommandManager commandManager (String value)
 Command manager matching value.
 
ECBehaviorComponent component (BehaviorElementClass eclass, Dictionary parameters, String name, String defaultId)
 Component behavior.
 
ECBehaviorCustomColor customColor (BehaviorElementClass eclass, Dictionary parameters, String name, String defaultId)
 Custom color behavior.
 
ECBehaviorActorAnimated defaultActorAnimated (BehaviorElementClass eclass, Dictionary parameters)
 Default actor animated behavior using parameter "actorAnimated".
 
ECBehaviorAnimated defaultAnimated (BehaviorElementClass eclass, Dictionary parameters)
 Default animated behavior using parameter "animated".
 
ECBehaviorBehaviorTree defaultBehaviorTree (BehaviorElementClass eclass, Dictionary parameters)
 Default behavior tree behavior using parameter "behaviorTree".
 
BindingManager defaultBindingManager ()
 Default binding manager matching value.
 
ECBehaviorCamera defaultCamera (BehaviorElementClass eclass, Dictionary parameters)
 Default camera behavior using parameter "camera".
 
CommandManager defaultCommandManager ()
 Default command manager matching value.
 
ECBehaviorComponent defaultComponent (BehaviorElementClass eclass, Dictionary parameters)
 Default component behavior using parameter "component".
 
Console defaultConsole ()
 Default console.
 
ECBehaviorCustomColor defaultCustomColor (BehaviorElementClass eclass, Dictionary parameters)
 Default custom color behavior using parameter "customColor".
 
ECBehaviorDynamicSkin defaultDynamicSkin (BehaviorElementClass eclass, Dictionary parameters)
 Default dynamic skin behavior using parameter "dynamicSkin".
 
ElementClassList defaultElementClassList ()
 Default element classes list.
 
MutableID defaultIDGenerator ()
 Default ID Generator.
 
ECBehaviorLight defaultLight (BehaviorElementClass eclass, Dictionary parameters)
 Default light behavior using parameter "light".
 
Loaders defaultLoaders ()
 Default loaders.
 
ECBehaviorNavigationBlocker defaultNavigationBlocker (BehaviorElementClass eclass, Dictionary parameters)
 Default NavigationBlocker behavior using parameter "navigationBlocker".
 
ECBehaviorNavigationSpace defaultNavigationSpace (BehaviorElementClass eclass, Dictionary parameters)
 Default NavigationSpace behavior using parameter "navigationSpace".
 
ECBehaviorNavigator defaultNavigator (BehaviorElementClass eclass, Dictionary parameters)
 Default navigator behavior using parameter "navigator".
 
ECBehaviorPlayerControllable.Tracker defaultPlayerControlledActor ()
 Default player controllable actor matching value.
 
ECBehaviorRenderableCanvas defaultRenderableCanvas (BehaviorElementClass eclass, Dictionary parameters)
 Default renderable canvas behavior using parameter "renderableCanvas".
 
ECBehaviorRenderableDesktop defaultRenderableDesktop (BehaviorElementClass eclass, Dictionary parameters)
 Default renderable desktop behavior using parameter "renderableDesktop".
 
ECBehaviorRenderablePanel defaultRenderablePanel (BehaviorElementClass eclass, Dictionary parameters)
 Default renderable panel behavior using parameter "renderablePanel".
 
SimpleConversationConverter defaultSimpleConversationConverter ()
 Default simple conversation converter matching value.
 
ConversationPlaybackSubTitle defaultSubtitle ()
 Default conversation playback subtitle matching value.
 
GuiTheme defaultSubtitleTheme ()
 Default subtitle gui theme matching value.
 
TranslationManager defaultTranslationManager ()
 Default translation manager matching value.
 
TSTriggerTable defaultTriggerTable ()
 Default trigger table.
 
ECBehaviorTwoStateAnimated defaultTwoStateAnimated (BehaviorElementClass eclass, Dictionary parameters)
 Default two state animated behavior using parameter "twoStateAnimated".
 
ECBehaviorVRHand defaultVRHand (BehaviorElementClass eclass, Dictionary parameters)
 Default vr hand behavior using parameter "vrHand".
 
WindowPlayerChoice defaultWindowPlayerChoice ()
 Default player choice window.
 
ECBehaviorDynamicSkin dynamicSkin (BehaviorElementClass eclass, Dictionary parameters, String name, String defaultId)
 Dynamic skin behavior.
 
ECBehaviorLight light (BehaviorElementClass eclass, Dictionary parameters, String name, String defaultId)
 Light behavior.
 
ECBehaviorNavigationBlocker navigationBlocker (BehaviorElementClass eclass, Dictionary parameters, String name, String defaultId)
 NavigationBlocker behavior.
 
ECBehaviorNavigationSpace navigationSpace (BehaviorElementClass eclass, Dictionary parameters, String name, String defaultId)
 NavigationSpace behavior.
 
ECBehaviorNavigator navigator (BehaviorElementClass eclass, Dictionary parameters, String name, String defaultId)
 Navigator behavior.
 
BehaviorFactoryHelper new ()
 Create helper.
 
ECBehaviorActorAnimated optionalActorAnimated (BehaviorElementClass eclass, Dictionary parameters)
 Optional actor animated behavior using parameter "actorAnimated".
 
ECBehaviorAnimated optionalAnimated (BehaviorElementClass eclass, Dictionary parameters)
 Optional animated behavior using parameter "animated".
 
ECBehaviorBehaviorTree optionalBehaviorTree (BehaviorElementClass eclass, Dictionary parameters)
 Optional behavior tree behavior using parameter "behaviorTree".
 
ECBehaviorCamera optionalCamera (BehaviorElementClass eclass, Dictionary parameters)
 Optional camera behavior using parameter "camera".
 
ECBehaviorComponent optionalComponent (BehaviorElementClass eclass, Dictionary parameters)
 Optional component behavior using parameter "component".
 
ECBehaviorCustomColor optionalCustomColor (BehaviorElementClass eclass, Dictionary parameters)
 Optional custom color behavior using parameter "customColor".
 
ECBehaviorDynamicSkin optionalDynamicSkin (BehaviorElementClass eclass, Dictionary parameters)
 Optional dynamic skin behavior using parameter "dynamicSkin".
 
ECBehaviorLight optionalLight (BehaviorElementClass eclass, Dictionary parameters)
 Optional light behavior using parameter "light".
 
ECBehaviorNavigationBlocker optionalNavigationBlocker (BehaviorElementClass eclass, Dictionary parameters)
 Optional NavigationBlocker behavior using parameter "NavigationBlocker".
 
ECBehaviorNavigationSpace optionalNavigationSpace (BehaviorElementClass eclass, Dictionary parameters)
 Optional NavigationSpace behavior using parameter "NavigationSpace".
 
ECBehaviorNavigator optionalNavigator (BehaviorElementClass eclass, Dictionary parameters)
 Optional navigator behavior using parameter "navigator".
 
ECBehaviorRenderableCanvas optionalRenderableCanvas (BehaviorElementClass eclass, Dictionary parameters)
 Optional renderable canvas behavior using parameter "renderableCanvas".
 
ECBehaviorRenderableDesktop optionalRenderableDesktop (BehaviorElementClass eclass, Dictionary parameters)
 Optional renderable desktop behavior using parameter "renderableDesktop".
 
ECBehaviorRenderablePanel optionalRenderablePanel (BehaviorElementClass eclass, Dictionary parameters)
 Optional renderable panel behavior using parameter "renderablePanel".
 
ECBehaviorStateMachine optionalStateMachine (BehaviorElementClass eclass, Dictionary parameters)
 Optional behavior state machine using parameter "stateMachine".
 
ECBehaviorTwoStateAnimated optionalTwoStateAnimated (BehaviorElementClass eclass, Dictionary parameters)
 Optional two state animated behavior using parameter "twoStateAnimated".
 
ECBehaviorVRHand optionalVRHand (BehaviorElementClass eclass, Dictionary parameters)
 Optional vr hand behavior using parameter "vrHand".
 
ECBehaviorPlayerControllable.Tracker playerControlledActor (String value)
 Player controllable actor matching value.
 
ECBehaviorRenderableCanvas renderableCanvas (BehaviorElementClass eclass, Dictionary parameters, String name, String defaultId)
 Renderable canvas behavior.
 
ECBehaviorRenderableDesktop renderableDesktop (BehaviorElementClass eclass, Dictionary parameters, String name, String defaultId)
 Renderable desktop behavior.
 
ECBehaviorRenderablePanel renderablePanel (BehaviorElementClass eclass, Dictionary parameters, String name, String defaultId)
 Renderable panel behavior.
 
void setPropertiesFromParameters (BehaviorElementClass eclass, Dictionary parameters)
 
void setPropertiesFromParameters (BehaviorElementClass eclass, Dictionary parameters, String prefix, String id)
 Set parameters as prefixed property.
 
SimpleConversationConverter simpleConversationConverter (String value)
 Simple conversation converter matching value.
 
ConversationPlaybackSubTitle subtitle (String value)
 Conversation playback subtitle matching value.
 
GuiTheme subtitleTheme (String value)
 Subtitle gui theme matching value.
 
TranslationManager translationManager (String value)
 Translation manager matching value.
 
TSTriggerTable triggerTable (String value)
 Trigger table matching value.
 
ECBehaviorTwoStateAnimated twoStateAnimated (BehaviorElementClass eclass, Dictionary parameters, String name, String defaultId)
 Two state animated behavior.
 

Detailed Description

Helper class for BehaviorFactor implementations.

Version
1.25

Member Function Documentation

◆ actorAnimated()

ECBehaviorActorAnimated Dragengine.Utils.BehaviorFactoryHelper.actorAnimated ( BehaviorElementClass  eclass,
Dictionary  parameters,
String  name,
String  defaultId 
)

Actor animated behavior.

Parameter can be of string type or null. Throws exception if parameter is not null and the behavior does not exist.

Parameters
eclassElement class to look up behavior in.
parametersDictionary of String key and String value.
nameName of parameter. Can be absent
defaultIdId to use if parameter is absent. Can be null.

◆ addActorFactories()

void Dragengine.Utils.BehaviorFactoryHelper.addActorFactories ( BehaviorFactoryList  factories)

Add actor behavior factories to factory list.

◆ addAllAttachableFactories()

void Dragengine.Utils.BehaviorFactoryHelper.addAllAttachableFactories ( AttachableBehaviorFactoryList  factories)

Add all attachable behavior factories to factory list.

Version
1.29

◆ addAllFactories()

void Dragengine.Utils.BehaviorFactoryHelper.addAllFactories ( BehaviorFactoryList  factories)

Add all behavior factories to factory list.

◆ addAnimatedFactories()

void Dragengine.Utils.BehaviorFactoryHelper.addAnimatedFactories ( BehaviorFactoryList  factories)

Add animated behavior factories to factory list.

◆ addAttachFactories()

void Dragengine.Utils.BehaviorFactoryHelper.addAttachFactories ( BehaviorFactoryList  factories)

Add attach behavior factories to factory list.

◆ addBehaviorTreeFactories()

void Dragengine.Utils.BehaviorFactoryHelper.addBehaviorTreeFactories ( BehaviorFactoryList  factories)

Add behavior tree behavior factories to factory list.

◆ addCommonAttachableFactories()

void Dragengine.Utils.BehaviorFactoryHelper.addCommonAttachableFactories ( AttachableBehaviorFactoryList  factories)

Add common attachable behavior factories to factory list.

Version
1.29

◆ addCommonFactories()

void Dragengine.Utils.BehaviorFactoryHelper.addCommonFactories ( BehaviorFactoryList  factories)

Add common behavior factories to factory list.

◆ addConversationFactories()

void Dragengine.Utils.BehaviorFactoryHelper.addConversationFactories ( BehaviorFactoryList  factories)

Add conversation behavior factories to factory list.

◆ addDynamicSkinFactories()

void Dragengine.Utils.BehaviorFactoryHelper.addDynamicSkinFactories ( BehaviorFactoryList  factories)

Add dynamic skin behavior factories to factory list.

◆ addEffectFactories()

void Dragengine.Utils.BehaviorFactoryHelper.addEffectFactories ( BehaviorFactoryList  factories)

Add effect behavior factories to factory list.

◆ addInteractionFactories()

void Dragengine.Utils.BehaviorFactoryHelper.addInteractionFactories ( BehaviorFactoryList  factories)

Add interaction behavior factories to factory list.

◆ addInventoryFactories()

void Dragengine.Utils.BehaviorFactoryHelper.addInventoryFactories ( BehaviorFactoryList  factories)

Add inventory behavior factories to factory list.

◆ addNetworkFactories()

void Dragengine.Utils.BehaviorFactoryHelper.addNetworkFactories ( BehaviorFactoryList  factories)

Add network behavior factories to factory list.

◆ addPlayerFactories()

void Dragengine.Utils.BehaviorFactoryHelper.addPlayerFactories ( BehaviorFactoryList  factories)

Add player behavior factories to factory list.

◆ addRailFactories()

void Dragengine.Utils.BehaviorFactoryHelper.addRailFactories ( BehaviorFactoryList  factories)

Add rail behavior factories to factory list.

◆ addSkyFactories()

void Dragengine.Utils.BehaviorFactoryHelper.addSkyFactories ( BehaviorFactoryList  factories)

Add sky behavior factories to factory list.

◆ addSoundFactories()

void Dragengine.Utils.BehaviorFactoryHelper.addSoundFactories ( BehaviorFactoryList  factories)

Add sound behavior factories to factory list.

◆ addTriggerFactories()

void Dragengine.Utils.BehaviorFactoryHelper.addTriggerFactories ( BehaviorFactoryList  factories)

Add trigger behavior factories to factory list.

◆ addVRFactories()

void Dragengine.Utils.BehaviorFactoryHelper.addVRFactories ( BehaviorFactoryList  factories)

Add VR behavior factories to factory list.

◆ allBehaviorTrees()

void Dragengine.Utils.BehaviorFactoryHelper.allBehaviorTrees ( ECComposeBTSM  btsm,
BehaviorElementClass  eclass,
Dictionary  parameters 
)

All behavior tree behaviors using parameter "behaviorTrees".

Parameter is of list type. Throws exception if one or more behaviors do not exist.

Parameters
eclassElement class to look up behavior in.
parametersDictionary of String key and String value.

◆ allStateMachines()

void Dragengine.Utils.BehaviorFactoryHelper.allStateMachines ( ECComposeBTSM  btsm,
BehaviorElementClass  eclass,
Dictionary  parameters 
)

All state machine behaviors using parameter "stateMachines".

Parameter is of list type. Throws exception if one or more behaviors do not exist.

Parameters
eclassElement class to look up behavior in.
parametersDictionary of String key and String value.

◆ animated()

ECBehaviorAnimated Dragengine.Utils.BehaviorFactoryHelper.animated ( BehaviorElementClass  eclass,
Dictionary  parameters,
String  name,
String  defaultId 
)

Animated behavior.

Parameter can be of string type or null. Throws exception if parameter is not null and the behavior does not exist.

Parameters
eclassElement class to look up behavior in.
parametersDictionary of String key and String value.
nameName of parameter. Can be absent
defaultIdId to use if parameter is absent. Can be null.

◆ behaviorTree()

ECBehaviorBehaviorTree Dragengine.Utils.BehaviorFactoryHelper.behaviorTree ( BehaviorElementClass  eclass,
Dictionary  parameters,
String  name,
String  defaultId 
)

Behavior tree behavior.

Parameter can be of string type or null. Throws exception if parameter is not null and the behavior does not exist.

Parameters
eclassElement class to look up behavior in.
parametersDictionary of String key and String value.
nameName of parameter. Can be absent
defaultIdId to use if parameter is absent. Can be null.

◆ bindingManager()

BindingManager Dragengine.Utils.BehaviorFactoryHelper.bindingManager ( String  value)

Binding manager matching value.

Returns BaseGameApp::getTriggerTable() for value "default" and null otherwise.

◆ camera()

ECBehaviorCamera Dragengine.Utils.BehaviorFactoryHelper.camera ( BehaviorElementClass  eclass,
Dictionary  parameters,
String  name,
String  defaultId 
)

Camera behavior.

Parameter can be of string type or null. Throws exception if parameter is not null and the behavior does not exist.

Parameters
eclassElement class to look up behavior in.
parametersDictionary of String key and String value.
nameName of parameter. Can be absent
defaultIdId to use if parameter is absent. Can be null.

◆ commandManager()

CommandManager Dragengine.Utils.BehaviorFactoryHelper.commandManager ( String  value)

Command manager matching value.

Returns BaseGameApp::getCommandManager() for value "default" and null otherwise.

◆ component()

ECBehaviorComponent Dragengine.Utils.BehaviorFactoryHelper.component ( BehaviorElementClass  eclass,
Dictionary  parameters,
String  name,
String  defaultId 
)

Component behavior.

Parameter can be of string type or null. Throws exception if parameter is not null and the behavior does not exist.

Parameters
eclassElement class to look up behavior in.
parametersDictionary of String key and String value.
nameName of parameter. Can be absent
defaultIdId to use if parameter is absent. Can be null.

◆ customColor()

ECBehaviorCustomColor Dragengine.Utils.BehaviorFactoryHelper.customColor ( BehaviorElementClass  eclass,
Dictionary  parameters,
String  name,
String  defaultId 
)

Custom color behavior.

Parameter can be of string type or null. Throws exception if parameter is not null and the behavior does not exist.

Parameters
eclassElement class to look up behavior in.
parametersDictionary of String key and String value.
nameName of parameter. Can be absent
defaultIdId to use if parameter is absent. Can be null.

◆ defaultActorAnimated()

ECBehaviorActorAnimated Dragengine.Utils.BehaviorFactoryHelper.defaultActorAnimated ( BehaviorElementClass  eclass,
Dictionary  parameters 
)

Default actor animated behavior using parameter "actorAnimated".

Parameter can be of string type or null. Throws exception if parameter is not null and the behavior does not exist.

Parameters
eclassElement class to look up behavior in.
parametersDictionary of String key and String value.

◆ defaultAnimated()

ECBehaviorAnimated Dragengine.Utils.BehaviorFactoryHelper.defaultAnimated ( BehaviorElementClass  eclass,
Dictionary  parameters 
)

Default animated behavior using parameter "animated".

Parameter can be of string type or null. Throws exception if parameter is not null and the behavior does not exist.

Parameters
eclassElement class to look up behavior in.
parametersDictionary of String key and String value.

◆ defaultBehaviorTree()

ECBehaviorBehaviorTree Dragengine.Utils.BehaviorFactoryHelper.defaultBehaviorTree ( BehaviorElementClass  eclass,
Dictionary  parameters 
)

Default behavior tree behavior using parameter "behaviorTree".

Parameter can be of string type or null. Throws exception if parameter is not null and the behavior does not exist.

Parameters
eclassElement class to look up behavior in.
parametersDictionary of String key and String value.

◆ defaultBindingManager()

BindingManager Dragengine.Utils.BehaviorFactoryHelper.defaultBindingManager ( )

Default binding manager matching value.

Version
1.28

Returns BaseGameApp::getTriggerTable().

◆ defaultCamera()

ECBehaviorCamera Dragengine.Utils.BehaviorFactoryHelper.defaultCamera ( BehaviorElementClass  eclass,
Dictionary  parameters 
)

Default camera behavior using parameter "camera".

Parameter can be of string type or null. Throws exception if parameter is not null and the behavior does not exist.

Parameters
eclassElement class to look up behavior in.
parametersDictionary of String key and String value.

◆ defaultCommandManager()

CommandManager Dragengine.Utils.BehaviorFactoryHelper.defaultCommandManager ( )

Default command manager matching value.

Version
1.28

Returns BaseGameApp::getCommandManager().

◆ defaultComponent()

ECBehaviorComponent Dragengine.Utils.BehaviorFactoryHelper.defaultComponent ( BehaviorElementClass  eclass,
Dictionary  parameters 
)

Default component behavior using parameter "component".

Parameter can be of string type or null. Throws exception if parameter is not null and the behavior does not exist.

Parameters
eclassElement class to look up behavior in.
parametersDictionary of String key and String value.

◆ defaultConsole()

Console Dragengine.Utils.BehaviorFactoryHelper.defaultConsole ( )

Default console.

Version
1.28

Returns BaseGameApp::getConsole().

◆ defaultCustomColor()

ECBehaviorCustomColor Dragengine.Utils.BehaviorFactoryHelper.defaultCustomColor ( BehaviorElementClass  eclass,
Dictionary  parameters 
)

Default custom color behavior using parameter "customColor".

Parameter can be of string type or null. Throws exception if parameter is not null and the behavior does not exist.

Parameters
eclassElement class to look up behavior in.
parametersDictionary of String key and String value.

◆ defaultDynamicSkin()

ECBehaviorDynamicSkin Dragengine.Utils.BehaviorFactoryHelper.defaultDynamicSkin ( BehaviorElementClass  eclass,
Dictionary  parameters 
)

Default dynamic skin behavior using parameter "dynamicSkin".

Parameter can be of string type or null. Throws exception if parameter is not null and the behavior does not exist.

Parameters
eclassElement class to look up behavior in.
parametersDictionary of String key and String value.

◆ defaultElementClassList()

ElementClassList Dragengine.Utils.BehaviorFactoryHelper.defaultElementClassList ( )

Default element classes list.

Version
1.28

Returns BaseGameApp::getElementClassList().

◆ defaultIDGenerator()

MutableID Dragengine.Utils.BehaviorFactoryHelper.defaultIDGenerator ( )

Default ID Generator.

Version
1.28

Returns BaseGameApp::getIDGenerator().

◆ defaultLight()

ECBehaviorLight Dragengine.Utils.BehaviorFactoryHelper.defaultLight ( BehaviorElementClass  eclass,
Dictionary  parameters 
)

Default light behavior using parameter "light".

Parameter can be of string type or null. Throws exception if parameter is not null and the behavior does not exist.

Parameters
eclassElement class to look up behavior in.
parametersDictionary of String key and String value.

◆ defaultLoaders()

Loaders Dragengine.Utils.BehaviorFactoryHelper.defaultLoaders ( )

Default loaders.

Version
1.28

Returns BaseGameApp::getLoaders().

◆ defaultNavigationBlocker()

ECBehaviorNavigationBlocker Dragengine.Utils.BehaviorFactoryHelper.defaultNavigationBlocker ( BehaviorElementClass  eclass,
Dictionary  parameters 
)

Default NavigationBlocker behavior using parameter "navigationBlocker".

Version
1.26

Parameter can be of string type or null. Throws exception if parameter is not null and the behavior does not exist.

Parameters
eclassElement class to look up behavior in.
parametersDictionary of String key and String value.

◆ defaultNavigationSpace()

ECBehaviorNavigationSpace Dragengine.Utils.BehaviorFactoryHelper.defaultNavigationSpace ( BehaviorElementClass  eclass,
Dictionary  parameters 
)

Default NavigationSpace behavior using parameter "navigationSpace".

Version
1.26

Parameter can be of string type or null. Throws exception if parameter is not null and the behavior does not exist.

Parameters
eclassElement class to look up behavior in.
parametersDictionary of String key and String value.

◆ defaultNavigator()

ECBehaviorNavigator Dragengine.Utils.BehaviorFactoryHelper.defaultNavigator ( BehaviorElementClass  eclass,
Dictionary  parameters 
)

Default navigator behavior using parameter "navigator".

Parameter can be of string type or null. Throws exception if parameter is not null and the behavior does not exist.

Parameters
eclassElement class to look up behavior in.
parametersDictionary of String key and String value.

◆ defaultPlayerControlledActor()

ECBehaviorPlayerControllable.Tracker Dragengine.Utils.BehaviorFactoryHelper.defaultPlayerControlledActor ( )

Default player controllable actor matching value.

Version
1.28

Returns BaseGameApp::getPlayerControlledActor().

◆ defaultRenderableCanvas()

ECBehaviorRenderableCanvas Dragengine.Utils.BehaviorFactoryHelper.defaultRenderableCanvas ( BehaviorElementClass  eclass,
Dictionary  parameters 
)

Default renderable canvas behavior using parameter "renderableCanvas".

Parameter can be of string type or null. Throws exception if parameter is not null and the behavior does not exist.

Parameters
eclassElement class to look up behavior in.
parametersDictionary of String key and String value.

◆ defaultRenderableDesktop()

ECBehaviorRenderableDesktop Dragengine.Utils.BehaviorFactoryHelper.defaultRenderableDesktop ( BehaviorElementClass  eclass,
Dictionary  parameters 
)

Default renderable desktop behavior using parameter "renderableDesktop".

Parameter can be of string type or null. Throws exception if parameter is not null and the behavior does not exist.

Parameters
eclassElement class to look up behavior in.
parametersDictionary of String key and String value.

◆ defaultRenderablePanel()

ECBehaviorRenderablePanel Dragengine.Utils.BehaviorFactoryHelper.defaultRenderablePanel ( BehaviorElementClass  eclass,
Dictionary  parameters 
)

Default renderable panel behavior using parameter "renderablePanel".

Version
1.28

Parameter can be of string type or null. Throws exception if parameter is not null and the behavior does not exist.

Parameters
eclassElement class to look up behavior in.
parametersDictionary of String key and String value.

◆ defaultSimpleConversationConverter()

SimpleConversationConverter Dragengine.Utils.BehaviorFactoryHelper.defaultSimpleConversationConverter ( )

Default simple conversation converter matching value.

Version
1.28

Returns BaseGameApp::getSimpleConversationConverter().

◆ defaultSubtitle()

ConversationPlaybackSubTitle Dragengine.Utils.BehaviorFactoryHelper.defaultSubtitle ( )

Default conversation playback subtitle matching value.

Version
1.28

Returns BaseGameApp::getWindowSubTitle().

◆ defaultSubtitleTheme()

GuiTheme Dragengine.Utils.BehaviorFactoryHelper.defaultSubtitleTheme ( )

Default subtitle gui theme matching value.

Version
1.28

Returns WindowSubTitle::getGuiTheme() on BaseGameApp::getWindowSubTitle().

◆ defaultTranslationManager()

TranslationManager Dragengine.Utils.BehaviorFactoryHelper.defaultTranslationManager ( )

Default translation manager matching value.

Version
1.28

Returns BaseGameApp::getTranslationManager().

◆ defaultTriggerTable()

TSTriggerTable Dragengine.Utils.BehaviorFactoryHelper.defaultTriggerTable ( )

Default trigger table.

Version
1.28

Returns BaseGameApp::getTriggerTable().

◆ defaultTwoStateAnimated()

ECBehaviorTwoStateAnimated Dragengine.Utils.BehaviorFactoryHelper.defaultTwoStateAnimated ( BehaviorElementClass  eclass,
Dictionary  parameters 
)

Default two state animated behavior using parameter "twoStateAnimated".

Parameter can be of string type or null. Throws exception if parameter is not null and the behavior does not exist.

Parameters
eclassElement class to look up behavior in.
parametersDictionary of String key and String value.

◆ defaultVRHand()

ECBehaviorVRHand Dragengine.Utils.BehaviorFactoryHelper.defaultVRHand ( BehaviorElementClass  eclass,
Dictionary  parameters 
)

Default vr hand behavior using parameter "vrHand".

Parameter can be of string type or null. Throws exception if parameter is not null and the behavior does not exist.

Parameters
eclassElement class to look up behavior in.
parametersDictionary of String key and String value.

◆ defaultWindowPlayerChoice()

WindowPlayerChoice Dragengine.Utils.BehaviorFactoryHelper.defaultWindowPlayerChoice ( )

Default player choice window.

Version
1.28

Returns BaseGameApp::getWindowPlayerChoice().

◆ dynamicSkin()

ECBehaviorDynamicSkin Dragengine.Utils.BehaviorFactoryHelper.dynamicSkin ( BehaviorElementClass  eclass,
Dictionary  parameters,
String  name,
String  defaultId 
)

Dynamic skin behavior.

Parameter can be of string type or null. Throws exception if parameter is not null and the behavior does not exist.

Parameters
eclassElement class to look up behavior in.
parametersDictionary of String key and String value.
nameName of parameter. Can be absent
defaultIdId to use if parameter is absent. Can be null.

◆ light()

ECBehaviorLight Dragengine.Utils.BehaviorFactoryHelper.light ( BehaviorElementClass  eclass,
Dictionary  parameters,
String  name,
String  defaultId 
)

Light behavior.

Parameter can be of string type or null. Throws exception if parameter is not null and the behavior does not exist.

Parameters
eclassElement class to look up behavior in.
parametersDictionary of String key and String value.
nameName of parameter. Can be absent
defaultIdId to use if parameter is absent. Can be null.

◆ navigationBlocker()

ECBehaviorNavigationBlocker Dragengine.Utils.BehaviorFactoryHelper.navigationBlocker ( BehaviorElementClass  eclass,
Dictionary  parameters,
String  name,
String  defaultId 
)

NavigationBlocker behavior.

Version
1.26

Parameter can be of string type or null. Throws exception if parameter is not null and the behavior does not exist.

Parameters
eclassElement class to look up behavior in.
parametersDictionary of String key and String value.
nameName of parameter. Can be absent
defaultIdId to use if parameter is absent. Can be null.

◆ navigationSpace()

ECBehaviorNavigationSpace Dragengine.Utils.BehaviorFactoryHelper.navigationSpace ( BehaviorElementClass  eclass,
Dictionary  parameters,
String  name,
String  defaultId 
)

NavigationSpace behavior.

Version
1.26

Parameter can be of string type or null. Throws exception if parameter is not null and the behavior does not exist.

Parameters
eclassElement class to look up behavior in.
parametersDictionary of String key and String value.
nameName of parameter. Can be absent
defaultIdId to use if parameter is absent. Can be null.

◆ navigator()

ECBehaviorNavigator Dragengine.Utils.BehaviorFactoryHelper.navigator ( BehaviorElementClass  eclass,
Dictionary  parameters,
String  name,
String  defaultId 
)

Navigator behavior.

Parameter can be of string type or null. Throws exception if parameter is not null and the behavior does not exist.

Parameters
eclassElement class to look up behavior in.
parametersDictionary of String key and String value.
nameName of parameter. Can be absent
defaultIdId to use if parameter is absent. Can be null.

◆ new()

BehaviorFactoryHelper Dragengine.Utils.BehaviorFactoryHelper.new ( )

Create helper.

◆ optionalActorAnimated()

ECBehaviorActorAnimated Dragengine.Utils.BehaviorFactoryHelper.optionalActorAnimated ( BehaviorElementClass  eclass,
Dictionary  parameters 
)

Optional actor animated behavior using parameter "actorAnimated".

Parameter can be of string type or null. Throws exception if parameter is not null and the behavior does not exist.

Parameters
eclassElement class to look up behavior in.
parametersDictionary of String key and String value.

◆ optionalAnimated()

ECBehaviorAnimated Dragengine.Utils.BehaviorFactoryHelper.optionalAnimated ( BehaviorElementClass  eclass,
Dictionary  parameters 
)

Optional animated behavior using parameter "animated".

Parameter can be of string type or null. Throws exception if parameter is not null and the behavior does not exist.

Parameters
eclassElement class to look up behavior in.
parametersDictionary of String key and String value.

◆ optionalBehaviorTree()

ECBehaviorBehaviorTree Dragengine.Utils.BehaviorFactoryHelper.optionalBehaviorTree ( BehaviorElementClass  eclass,
Dictionary  parameters 
)

Optional behavior tree behavior using parameter "behaviorTree".

Parameter can be of string type or null. Throws exception if parameter is not null and the behavior does not exist.

Parameters
eclassElement class to look up behavior in.
parametersDictionary of String key and String value.

◆ optionalCamera()

ECBehaviorCamera Dragengine.Utils.BehaviorFactoryHelper.optionalCamera ( BehaviorElementClass  eclass,
Dictionary  parameters 
)

Optional camera behavior using parameter "camera".

Parameter can be of string type or null. Throws exception if parameter is not null and the behavior does not exist.

Parameters
eclassElement class to look up behavior in.
parametersDictionary of String key and String value.

◆ optionalComponent()

ECBehaviorComponent Dragengine.Utils.BehaviorFactoryHelper.optionalComponent ( BehaviorElementClass  eclass,
Dictionary  parameters 
)

Optional component behavior using parameter "component".

Parameter can be of string type or null. Throws exception if parameter is not null and the behavior does not exist.

Parameters
eclassElement class to look up behavior in.
parametersDictionary of String key and String value.

◆ optionalCustomColor()

ECBehaviorCustomColor Dragengine.Utils.BehaviorFactoryHelper.optionalCustomColor ( BehaviorElementClass  eclass,
Dictionary  parameters 
)

Optional custom color behavior using parameter "customColor".

Parameter can be of string type or null. Throws exception if parameter is not null and the behavior does not exist.

Parameters
eclassElement class to look up behavior in.
parametersDictionary of String key and String value.

◆ optionalDynamicSkin()

ECBehaviorDynamicSkin Dragengine.Utils.BehaviorFactoryHelper.optionalDynamicSkin ( BehaviorElementClass  eclass,
Dictionary  parameters 
)

Optional dynamic skin behavior using parameter "dynamicSkin".

Parameter can be of string type or null. Throws exception if parameter is not null and the behavior does not exist.

Parameters
eclassElement class to look up behavior in.
parametersDictionary of String key and String value.

◆ optionalLight()

ECBehaviorLight Dragengine.Utils.BehaviorFactoryHelper.optionalLight ( BehaviorElementClass  eclass,
Dictionary  parameters 
)

Optional light behavior using parameter "light".

Parameter can be of string type or null. Throws exception if parameter is not null and the behavior does not exist.

Parameters
eclassElement class to look up behavior in.
parametersDictionary of String key and String value.

◆ optionalNavigationBlocker()

ECBehaviorNavigationBlocker Dragengine.Utils.BehaviorFactoryHelper.optionalNavigationBlocker ( BehaviorElementClass  eclass,
Dictionary  parameters 
)

Optional NavigationBlocker behavior using parameter "NavigationBlocker".

Version
1.26

Parameter can be of string type or null. Throws exception if parameter is not null and the behavior does not exist.

Parameters
eclassElement class to look up behavior in.
parametersDictionary of String key and String value.

◆ optionalNavigationSpace()

ECBehaviorNavigationSpace Dragengine.Utils.BehaviorFactoryHelper.optionalNavigationSpace ( BehaviorElementClass  eclass,
Dictionary  parameters 
)

Optional NavigationSpace behavior using parameter "NavigationSpace".

Version
1.26

Parameter can be of string type or null. Throws exception if parameter is not null and the behavior does not exist.

Parameters
eclassElement class to look up behavior in.
parametersDictionary of String key and String value.

◆ optionalNavigator()

ECBehaviorNavigator Dragengine.Utils.BehaviorFactoryHelper.optionalNavigator ( BehaviorElementClass  eclass,
Dictionary  parameters 
)

Optional navigator behavior using parameter "navigator".

Parameter can be of string type or null. Throws exception if parameter is not null and the behavior does not exist.

Parameters
eclassElement class to look up behavior in.
parametersDictionary of String key and String value.

◆ optionalRenderableCanvas()

ECBehaviorRenderableCanvas Dragengine.Utils.BehaviorFactoryHelper.optionalRenderableCanvas ( BehaviorElementClass  eclass,
Dictionary  parameters 
)

Optional renderable canvas behavior using parameter "renderableCanvas".

Parameter can be of string type or null. Throws exception if parameter is not null and the behavior does not exist.

Parameters
eclassElement class to look up behavior in.
parametersDictionary of String key and String value.

◆ optionalRenderableDesktop()

ECBehaviorRenderableDesktop Dragengine.Utils.BehaviorFactoryHelper.optionalRenderableDesktop ( BehaviorElementClass  eclass,
Dictionary  parameters 
)

Optional renderable desktop behavior using parameter "renderableDesktop".

Parameter can be of string type or null. Throws exception if parameter is not null and the behavior does not exist.

Parameters
eclassElement class to look up behavior in.
parametersDictionary of String key and String value.

◆ optionalRenderablePanel()

ECBehaviorRenderablePanel Dragengine.Utils.BehaviorFactoryHelper.optionalRenderablePanel ( BehaviorElementClass  eclass,
Dictionary  parameters 
)

Optional renderable panel behavior using parameter "renderablePanel".

Version
1.28

Parameter can be of string type or null. Throws exception if parameter is not null and the behavior does not exist.

Parameters
eclassElement class to look up behavior in.
parametersDictionary of String key and String value.

◆ optionalStateMachine()

ECBehaviorStateMachine Dragengine.Utils.BehaviorFactoryHelper.optionalStateMachine ( BehaviorElementClass  eclass,
Dictionary  parameters 
)

Optional behavior state machine using parameter "stateMachine".

Parameter can be of string type or null. Throws exception if parameter is not null and the behavior does not exist.

Parameters
eclassElement class to look up behavior in.
parametersDictionary of String key and String value.

◆ optionalTwoStateAnimated()

ECBehaviorTwoStateAnimated Dragengine.Utils.BehaviorFactoryHelper.optionalTwoStateAnimated ( BehaviorElementClass  eclass,
Dictionary  parameters 
)

Optional two state animated behavior using parameter "twoStateAnimated".

Parameter can be of string type or null. Throws exception if parameter is not null and the behavior does not exist.

Parameters
eclassElement class to look up behavior in.
parametersDictionary of String key and String value.

◆ optionalVRHand()

ECBehaviorVRHand Dragengine.Utils.BehaviorFactoryHelper.optionalVRHand ( BehaviorElementClass  eclass,
Dictionary  parameters 
)

Optional vr hand behavior using parameter "vrHand".

Parameter can be of string type or null. Throws exception if parameter is not null and the behavior does not exist.

Parameters
eclassElement class to look up behavior in.
parametersDictionary of String key and String value.

◆ playerControlledActor()

ECBehaviorPlayerControllable.Tracker Dragengine.Utils.BehaviorFactoryHelper.playerControlledActor ( String  value)

Player controllable actor matching value.

Returns BaseGameApp::getPlayerControlledActor() for value "default" and null otherwise.

◆ renderableCanvas()

ECBehaviorRenderableCanvas Dragengine.Utils.BehaviorFactoryHelper.renderableCanvas ( BehaviorElementClass  eclass,
Dictionary  parameters,
String  name,
String  defaultId 
)

Renderable canvas behavior.

Parameter can be of string type or null. Throws exception if parameter is not null and the behavior does not exist.

Parameters
eclassElement class to look up behavior in.
parametersDictionary of String key and String value.
nameName of parameter. Can be absent
defaultIdId to use if parameter is absent. Can be null.

◆ renderableDesktop()

ECBehaviorRenderableDesktop Dragengine.Utils.BehaviorFactoryHelper.renderableDesktop ( BehaviorElementClass  eclass,
Dictionary  parameters,
String  name,
String  defaultId 
)

Renderable desktop behavior.

Parameter can be of string type or null. Throws exception if parameter is not null and the behavior does not exist.

Parameters
eclassElement class to look up behavior in.
parametersDictionary of String key and String value.
nameName of parameter. Can be absent
defaultIdId to use if parameter is absent. Can be null.

◆ renderablePanel()

ECBehaviorRenderablePanel Dragengine.Utils.BehaviorFactoryHelper.renderablePanel ( BehaviorElementClass  eclass,
Dictionary  parameters,
String  name,
String  defaultId 
)

Renderable panel behavior.

Version
1.28

Parameter can be of string type or null. Throws exception if parameter is not null and the behavior does not exist.

Parameters
eclassElement class to look up behavior in.
parametersDictionary of String key and String value.
nameName of parameter. Can be absent
defaultIdId to use if parameter is absent. Can be null.

◆ setPropertiesFromParameters() [1/2]

void Dragengine.Utils.BehaviorFactoryHelper.setPropertiesFromParameters ( BehaviorElementClass  eclass,
Dictionary  parameters 
)

◆ setPropertiesFromParameters() [2/2]

void Dragengine.Utils.BehaviorFactoryHelper.setPropertiesFromParameters ( BehaviorElementClass  eclass,
Dictionary  parameters,
String  prefix,
String  id 
)

Set parameters as prefixed property.

Allows to simplify setting properties of a newly added behavior without needing to know the property prefix used. Considers all parameters starting with "." to be properties with the prefix prepanded to their name. If id is empty string prepends "prefix". Otherwise prepends "prefix(id)".

◆ simpleConversationConverter()

SimpleConversationConverter Dragengine.Utils.BehaviorFactoryHelper.simpleConversationConverter ( String  value)

Simple conversation converter matching value.

Returns BaseGameApp::getSimpleConversationConverter() for value "default" and null for all other values.

◆ subtitle()

ConversationPlaybackSubTitle Dragengine.Utils.BehaviorFactoryHelper.subtitle ( String  value)

Conversation playback subtitle matching value.

Returns BaseGameApp::getWindowSubTitle() for value "default" and null otherwise.

◆ subtitleTheme()

GuiTheme Dragengine.Utils.BehaviorFactoryHelper.subtitleTheme ( String  value)

Subtitle gui theme matching value.

Returns WindowSubTitle::getGuiTheme() on BaseGameApp::getWindowSubTitle() for value "default". For values starting with "path:" loads gui theme. For all other valuers returns null.

◆ translationManager()

TranslationManager Dragengine.Utils.BehaviorFactoryHelper.translationManager ( String  value)

Translation manager matching value.

Returns BaseGameApp::getTranslationManager() for value "default" and null otherwise.

◆ triggerTable()

TSTriggerTable Dragengine.Utils.BehaviorFactoryHelper.triggerTable ( String  value)

Trigger table matching value.

Returns BaseGameApp::getTriggerTable() for value "default" and null otherwise.

◆ twoStateAnimated()

ECBehaviorTwoStateAnimated Dragengine.Utils.BehaviorFactoryHelper.twoStateAnimated ( BehaviorElementClass  eclass,
Dictionary  parameters,
String  name,
String  defaultId 
)

Two state animated behavior.

Parameter can be of string type or null. Throws exception if parameter is not null and the behavior does not exist.

Parameters
eclassElement class to look up behavior in.
parametersDictionary of String key and String value.
nameName of parameter. Can be absent
defaultIdId to use if parameter is absent. Can be null.

The documentation for this class was generated from the following file: