Drag[en]gine Script Module DragonScript  1.21
Dragengine.Scenery.ECBehavior Interface Reference

Behavior for BehaviorElement. More...

Inheritance diagram for Dragengine.Scenery.ECBehavior:
Dragengine.Scenery.DefaultECBehavior Dragengine.Gui.MainMenus.Interactive.IMMBehaviorColliderInteract Dragengine.Gui.MainMenus.Interactive.IMMBehaviorHotSpot Dragengine.Scenery.ECBCTRRBindings Dragengine.Scenery.ECBehaviorActorAIAction Dragengine.Scenery.ECBehaviorActorAnimated Dragengine.Scenery.ECBehaviorActorCutscene Dragengine.Scenery.ECBehaviorActorIK Dragengine.Scenery.ECBehaviorActorMover Dragengine.Scenery.ECBehaviorActorMoverUnstuck Dragengine.Scenery.ECBehaviorActorTransmission Dragengine.Scenery.ECBehaviorAlignActor Dragengine.Scenery.ECBehaviorAnchorElement Dragengine.Scenery.ECBehaviorAnimated Dragengine.Scenery.ECBehaviorAnnouncer Dragengine.Scenery.ECBehaviorAttachDynamicSkin Dragengine.Scenery.ECBehaviorAttachSlot Dragengine.Scenery.ECBehaviorAttachToParent Dragengine.Scenery.ECBehaviorAttachable Dragengine.Scenery.ECBehaviorAttachments Dragengine.Scenery.ECBehaviorAvoidCollision Dragengine.Scenery.ECBehaviorAvoidedByActor Dragengine.Scenery.ECBehaviorBehaviorTree Dragengine.Scenery.ECBehaviorBehaviorTreeFlags Dragengine.Scenery.ECBehaviorBehaviorTreeTimer Dragengine.Scenery.ECBehaviorBillboard Dragengine.Scenery.ECBehaviorBodyTilting Dragengine.Scenery.ECBehaviorCamera Dragengine.Scenery.ECBehaviorClearPath Dragengine.Scenery.ECBehaviorCollider Dragengine.Scenery.ECBehaviorColliderAI Dragengine.Scenery.ECBehaviorComponent Dragengine.Scenery.ECBehaviorComposed Dragengine.Scenery.ECBehaviorControlDesktop Dragengine.Scenery.ECBehaviorConversation Dragengine.Scenery.ECBehaviorConversationActor Dragengine.Scenery.ECBehaviorConvoCoordSystem Dragengine.Scenery.ECBehaviorCustomColor Dragengine.Scenery.ECBehaviorDayTimeSky Dragengine.Scenery.ECBehaviorDecal Dragengine.Scenery.ECBehaviorDynamicSkin Dragengine.Scenery.ECBehaviorEnvMapProbe Dragengine.Scenery.ECBehaviorEvaluate Dragengine.Scenery.ECBehaviorFootSteps Dragengine.Scenery.ECBehaviorForceField Dragengine.Scenery.ECBehaviorGrabSpot Dragengine.Scenery.ECBehaviorGrabber Dragengine.Scenery.ECBehaviorHearSounds Dragengine.Scenery.ECBehaviorHitScan Dragengine.Scenery.ECBehaviorInteractPrompt Dragengine.Scenery.ECBehaviorInteractionSpot Dragengine.Scenery.ECBehaviorInventory Dragengine.Scenery.ECBehaviorLight Dragengine.Scenery.ECBehaviorLightDimmer Dragengine.Scenery.ECBehaviorLocomotion Dragengine.Scenery.ECBehaviorLookAt Dragengine.Scenery.ECBehaviorLookedAt Dragengine.Scenery.ECBehaviorMoveOnRail Dragengine.Scenery.ECBehaviorNStateGeometry Dragengine.Scenery.ECBehaviorNStateLocomotion Dragengine.Scenery.ECBehaviorNavigationBlocker Dragengine.Scenery.ECBehaviorNavigationSpace Dragengine.Scenery.ECBehaviorNavigator Dragengine.Scenery.ECBehaviorNetworkState Dragengine.Scenery.ECBehaviorOccupier Dragengine.Scenery.ECBehaviorOutline Dragengine.Scenery.ECBehaviorParameterTable Dragengine.Scenery.ECBehaviorParticleEmitter Dragengine.Scenery.ECBehaviorPlaySound Dragengine.Scenery.ECBehaviorPlayerControllable Dragengine.Scenery.ECBehaviorPlayerInputCrouch Dragengine.Scenery.ECBehaviorPlayerInputLook Dragengine.Scenery.ECBehaviorPlayerInputMove Dragengine.Scenery.ECBehaviorPlayerInputTurn Dragengine.Scenery.ECBehaviorPlayerInteractPrompt Dragengine.Scenery.ECBehaviorPlayerLookAtInteractPrompt Dragengine.Scenery.ECBehaviorProjectToGround Dragengine.Scenery.ECBehaviorRenderableCamera Dragengine.Scenery.ECBehaviorRenderableCanvas Dragengine.Scenery.ECBehaviorRenderableCanvasBase Dragengine.Scenery.ECBehaviorRenderableCustomColor Dragengine.Scenery.ECBehaviorRenderableDesktop Dragengine.Scenery.ECBehaviorRenderableLight Dragengine.Scenery.ECBehaviorRenderablePanel Dragengine.Scenery.ECBehaviorRidable Dragengine.Scenery.ECBehaviorRideOn Dragengine.Scenery.ECBehaviorShowElement Dragengine.Scenery.ECBehaviorShowMessage Dragengine.Scenery.ECBehaviorSkinSwitcher Dragengine.Scenery.ECBehaviorSky Dragengine.Scenery.ECBehaviorSpeaker Dragengine.Scenery.ECBehaviorStashable Dragengine.Scenery.ECBehaviorStateMachine Dragengine.Scenery.ECBehaviorStepAside Dragengine.Scenery.ECBehaviorTimer Dragengine.Scenery.ECBehaviorToggle Dragengine.Scenery.ECBehaviorTouchSensor Dragengine.Scenery.ECBehaviorTouching Dragengine.Scenery.ECBehaviorTriggered Dragengine.Scenery.ECBehaviorTwoStateAnimated Dragengine.Scenery.ECBehaviorVRControlDesktop Dragengine.Scenery.ECBehaviorVRHMD Dragengine.Scenery.ECBehaviorVRHand Dragengine.Scenery.ECBehaviorVRHandAction Dragengine.Scenery.ECBehaviorVRHandLaserPointer Dragengine.Scenery.ECBehaviorVRHandPointAt Dragengine.Scenery.ECBehaviorVRHandPointedAt Dragengine.Scenery.ECBehaviorVRHandPose Dragengine.Scenery.ECBehaviorVRPlayspace

Public Member Functions

void assignInstanceIndex (int instanceIndex)
 Assign instance index. More...
 
ECBehaviorInstance createInstance (BehaviorElement element)
 Create Behavior instance. More...
 
void dispose ()
 Dispose of behavior. More...
 
int getInstanceIndex ()
 Instance index. More...
 

Detailed Description

Behavior for BehaviorElement.

Composable elements are jack of all trade elements that can be build using ECCompose* classes implementing the Composable interface to provide various abilities (or traits). Composable elements are suited for prototyping or rapid development since they require little written code. Building element classes the conventional way though is usually preferred.

Classes implementing this interface have to add element class properties to the target element class during construction time.

Member Function Documentation

◆ assignInstanceIndex()

void Dragengine.Scenery.ECBehavior.assignInstanceIndex ( int  instanceIndex)

Assign instance index.

Warning
For use by BehaviorElementClass only! Do not call yourself!

Implemented in Dragengine.Scenery.DefaultECBehavior.

◆ createInstance()

ECBehaviorInstance Dragengine.Scenery.ECBehavior.createInstance ( BehaviorElement  element)

Create Behavior instance.

Implemented in Dragengine.Scenery.ECBehaviorVRHMD, Dragengine.Scenery.ECBehaviorTouching, Dragengine.Scenery.ECBehaviorToggle, Dragengine.Scenery.ECBehaviorPlaySoundRandom, Dragengine.Scenery.ECBehaviorSky, Dragengine.Scenery.ECBehaviorDayTimeSky, Dragengine.Scenery.ECBehaviorPlayerInputTurn, Dragengine.Scenery.ECBehaviorPlayerInputLook, Dragengine.Scenery.ECBehaviorPlayerInputCrouch, Dragengine.Scenery.ECBehaviorPlayerControllable, Dragengine.Scenery.ECBehaviorNStateLocomotion, Dragengine.Scenery.ECBehaviorNStateGeometry, Dragengine.Scenery.ECBehaviorNetworkState, Dragengine.Scenery.ECBehaviorStashable, Dragengine.Scenery.ECBehaviorInventory, Dragengine.Scenery.ECBehaviorLookedAt, Dragengine.Scenery.ECBehaviorOutline, Dragengine.Scenery.ECBehaviorStateMachine, Dragengine.Scenery.ECBehaviorRidable, Dragengine.Scenery.ECBehaviorNavigationSpace, Dragengine.Scenery.ECBehaviorNavigationBlocker, Dragengine.Scenery.ECBehaviorLightDimmer, Dragengine.Scenery.ECBehaviorLight, Dragengine.Scenery.ECBehaviorHitScan, Dragengine.Scenery.ECBehaviorForceField, Dragengine.Scenery.ECBehaviorEnvMapProbe, Dragengine.Scenery.ECBehaviorBillboard, Dragengine.Scenery.ECBehaviorAnchorElement, Dragengine.Scenery.ECBehaviorRenderableLight, Dragengine.Scenery.ECBehaviorRenderableCustomColor, Dragengine.Scenery.ECBehaviorRenderableCanvasBase, Dragengine.Scenery.ECBehaviorRenderableCamera, Dragengine.Scenery.ECBehaviorDynamicSkin, Dragengine.Scenery.ECBehaviorAttachDynamicSkin, Dragengine.Scenery.ECBCTRRBindings, Dragengine.Scenery.ECBehaviorNavigator, Dragengine.Scenery.ECBehaviorBodyTilting, Dragengine.Scenery.ECBehaviorActorAIAction, and Dragengine.Gui.MainMenus.Interactive.IMMBehaviorColliderInteract.

◆ dispose()

void Dragengine.Scenery.ECBehavior.dispose ( )

Dispose of behavior.

Implemented in Dragengine.Scenery.ECBehaviorMoveOnRail, Dragengine.Scenery.ECBehaviorVRHMD, Dragengine.Scenery.ECBehaviorVRHandPose, Dragengine.Scenery.ECBehaviorVRHandPointAt, Dragengine.Scenery.ECBehaviorVRHandLaserPointer, Dragengine.Scenery.ECBehaviorVRHandAction, Dragengine.Scenery.ECBehaviorVRControlDesktop, Dragengine.Scenery.ECBehaviorTriggered, Dragengine.Scenery.ECBehaviorTouching, Dragengine.Scenery.ECBehaviorToggle, Dragengine.Scenery.ECBehaviorTimer, Dragengine.Scenery.ECBehaviorEvaluate, Dragengine.Scenery.ECBehaviorSpeaker, Dragengine.Scenery.ECBehaviorPlaySound, Dragengine.Scenery.ECBehaviorAnnouncer, Dragengine.Scenery.ECBehaviorPlayerInputTurn, Dragengine.Scenery.ECBehaviorPlayerInputMove, Dragengine.Scenery.ECBehaviorPlayerInputLook, Dragengine.Scenery.ECBehaviorPlayerInputCrouch, Dragengine.Scenery.ECBehaviorPlayerControllable, Dragengine.Scenery.ECBehaviorNetworkState, Dragengine.Scenery.ECBehaviorStashable, Dragengine.Scenery.ECBehaviorInventory, Dragengine.Scenery.ECBehaviorVRHandPointedAt, Dragengine.Scenery.ECBehaviorOccupier, Dragengine.Scenery.ECBehaviorLookedAt, Dragengine.Scenery.ECBehaviorInteractionSpot, Dragengine.Scenery.ECBehaviorGrabSpot, Dragengine.Scenery.ECBehaviorControlDesktop, Dragengine.Scenery.ECBehaviorSkinSwitcher, Dragengine.Scenery.ECBehaviorOutline, Dragengine.Scenery.ECBehaviorStateMachine, Dragengine.Scenery.ECBehaviorRidable, Dragengine.Scenery.ECBehaviorParticleEmitter, Dragengine.Scenery.ECBehaviorNavigationSpace, Dragengine.Scenery.ECBehaviorNavigationBlocker, Dragengine.Scenery.ECBehaviorLightDimmer, Dragengine.Scenery.ECBehaviorLight, Dragengine.Scenery.ECBehaviorHitScan, Dragengine.Scenery.ECBehaviorForceField, Dragengine.Scenery.ECBehaviorEnvMapProbe, Dragengine.Scenery.ECBehaviorDecal, Dragengine.Scenery.ECBehaviorCustomColor, Dragengine.Scenery.ECBehaviorComponent, Dragengine.Scenery.ECBehaviorCollider, Dragengine.Scenery.ECBehaviorCamera, Dragengine.Scenery.ECBehaviorBillboard, Dragengine.Scenery.ECBehaviorRenderablePanel, Dragengine.Scenery.ECBehaviorRenderableLight, Dragengine.Scenery.ECBehaviorRenderableDesktop, Dragengine.Scenery.ECBehaviorRenderableCustomColor, Dragengine.Scenery.ECBehaviorRenderableCanvasBase, Dragengine.Scenery.ECBehaviorRenderableCanvas, Dragengine.Scenery.ECBehaviorRenderableCamera, Dragengine.Scenery.ECBehaviorDynamicSkin, Dragengine.Scenery.ECBehaviorAttachDynamicSkin, Dragengine.Scenery.DefaultECBehavior, Dragengine.Scenery.ECBehaviorConversation, Dragengine.Scenery.ECBCTRRBindings, Dragengine.Scenery.ECBehaviorAttachToParent, Dragengine.Scenery.ECBehaviorAttachSlot, Dragengine.Scenery.ECBehaviorAttachable, Dragengine.Scenery.ECBehaviorStepAside, Dragengine.Scenery.ECBehaviorRideOn, Dragengine.Scenery.ECBehaviorProjectToGround, Dragengine.Scenery.ECBehaviorLocomotion, Dragengine.Scenery.ECBehaviorColliderAI, Dragengine.Scenery.ECBehaviorClearPath, Dragengine.Scenery.ECBehaviorBodyTilting, Dragengine.Scenery.ECBehaviorBehaviorTree, Dragengine.Scenery.ECBehaviorAvoidCollision, Dragengine.Scenery.ECBehaviorAlignActor, Dragengine.Scenery.ECBehaviorActorMoverUnstuck, Dragengine.Scenery.ECBehaviorActorMover, Dragengine.Scenery.ECBehaviorActorIK, Dragengine.Scenery.ECBehaviorActorAnimated, Dragengine.Scenery.ECBehaviorActorAIAction, Dragengine.Gui.MainMenus.Interactive.IMMBehaviorHotSpot, and Dragengine.Gui.MainMenus.Interactive.IMMBehaviorColliderInteract.

◆ getInstanceIndex()

int Dragengine.Scenery.ECBehavior.getInstanceIndex ( )

Instance index.

Implemented in Dragengine.Scenery.DefaultECBehavior.


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