Drag[en]gine Script Module DragonScript  1.21
Dragengine.Scenery.DefaultECBehaviorInstance Class Reference

Default implementation of ECBehaviorInstance doing nothing. More...

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

Public Member Functions

void addToGameWorld ()
 Add element to game world. More...
 
void attachToParent (Element parent)
 Attach element to object set by the mapper in the IGDE World Editor. More...
 
void dispose ()
 Dispose of behavior instance. More...
 
void enterFrame ()
 Frame update started. More...
 
void geometryChanged ()
 Position or orientation changed. More...
 
BehaviorElement getElement ()
 Behavior element to apply behavior to. More...
 
int getInstanceIndex ()
 Behavior instance index. More...
 
void init (StubElement stub)
 Initialize element from stub. More...
 
DefaultECBehaviorInstance new (BehaviorElement element)
 Create default composeable instance. More...
 
void postThink (float elapsed)
 Post thinking after physics processing is finished. More...
 
void readFromFile (PersistencyEnvironment env, FileReader reader)
 Read behavior instance from file. More...
 
void removeFromGameWorld ()
 Remove element from game world. More...
 
bool requiresEnterFrame ()
 Behavior instance requires enterFrame() to be called. More...
 
bool requiresThink ()
 Behavior instance requires think() to be called. More...
 
void stateChanged ()
 State changed (visble, touchable). More...
 
void think (float elapsed)
 Think about what to do for the next frame update. More...
 
void writeToFile (PersistencyEnvironment env, FileWriter writer)
 Write behavior instance to file. More...
 

Protected Member Functions

void setRequiresEnterFrame (bool required)
 Set if behavior instance requires enterFrame() to be called. More...
 
void setRequiresThink (bool required)
 Set if behavior instance requires think() to be called. More...
 

Detailed Description

Default implementation of ECBehaviorInstance doing nothing.

Member Function Documentation

◆ addToGameWorld()

void Dragengine.Scenery.DefaultECBehaviorInstance.addToGameWorld ( )

Add element to game world.

Implements Dragengine.Scenery.ECBehaviorInstance.

Reimplemented in Dragengine.Scenery.ECBehaviorMoveOnRail.Instance, Dragengine.Scenery.ECBehaviorVRHMD.Instance, Dragengine.Scenery.ECBehaviorVRHandAction.Instance, Dragengine.Scenery.ECBehaviorTouchSensor.Instance, Dragengine.Scenery.ECBehaviorTouching.Instance, Dragengine.Scenery.ECBehaviorToggle.Instance, Dragengine.Scenery.ECBehaviorTimer.Instance, Dragengine.Scenery.ECBehaviorEvaluate.Instance, Dragengine.Scenery.ECBehaviorSpeaker.Instance, Dragengine.Scenery.ECBehaviorHearSounds.Instance, Dragengine.Scenery.ECBehaviorAnnouncer.Instance, Dragengine.Scenery.ECBehaviorSky.Instance, Dragengine.Scenery.ECBehaviorInventory.Instance, Dragengine.Scenery.ECBehaviorGrabSpot.Instance, Dragengine.Scenery.ECBehaviorGrabber.Instance, Dragengine.Scenery.ECBehaviorOutline.Instance, Dragengine.Scenery.ECBehaviorParticleEmitter.Instance, Dragengine.Scenery.ECBehaviorNavigationSpace.Instance, Dragengine.Scenery.ECBehaviorNavigationBlocker.Instance, Dragengine.Scenery.ECBehaviorLight.Instance, Dragengine.Scenery.ECBehaviorForceField.Instance, Dragengine.Scenery.ECBehaviorEnvMapProbe.Instance, Dragengine.Scenery.ECBehaviorConvoCoordSystem.Instance, Dragengine.Scenery.ECBehaviorComponent.Instance, Dragengine.Scenery.ECBehaviorCollider.Instance, Dragengine.Scenery.ECBehaviorCamera.Instance, Dragengine.Scenery.ECBehaviorBillboard.Instance, Dragengine.Scenery.ECBehaviorAnchorElement.Instance, Dragengine.Scenery.ECBehaviorAttachSlot.Instance, Dragengine.Scenery.ECBehaviorAnimated.Instance, Dragengine.Scenery.ECBehaviorProjectToGround.Instance, Dragengine.Scenery.ECBehaviorNavigator.Instance, Dragengine.Scenery.ECBehaviorColliderAI.Instance, Dragengine.Scenery.ECBehaviorActorAIAction.Instance, Dragengine.Gui.MainMenus.Interactive.IMMBehaviorHotSpot.Instance, and Dragengine.Gui.MainMenus.Interactive.IMMBehaviorColliderInteract.Instance.

◆ attachToParent()

void Dragengine.Scenery.DefaultECBehaviorInstance.attachToParent ( Element  parent)

Attach element to object set by the mapper in the IGDE World Editor.

Behavior instance is responsible to call BehaviorElement.setParent() if the attaching succeedes. If multiple behaviors support attaching they have to negotiate with each other who does the attaching for example by using BehaviorElement.getParent().

Implements Dragengine.Scenery.ECBehaviorInstance.

Reimplemented in Dragengine.Scenery.ECBehaviorAttachDynamicSkin.Instance, and Dragengine.Scenery.ECBehaviorAttachToParent.Instance.

◆ dispose()

void Dragengine.Scenery.DefaultECBehaviorInstance.dispose ( )

Dispose of behavior instance.

Implements Dragengine.Scenery.ECBehaviorInstance.

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

◆ enterFrame()

◆ geometryChanged()

◆ getElement()

BehaviorElement Dragengine.Scenery.DefaultECBehaviorInstance.getElement ( )

Behavior element to apply behavior to.

Implements Dragengine.Scenery.ECBehaviorInstance.

◆ getInstanceIndex()

int Dragengine.Scenery.DefaultECBehaviorInstance.getInstanceIndex ( )

Behavior instance index.

Implements Dragengine.Scenery.ECBehaviorInstance.

◆ init()

void Dragengine.Scenery.DefaultECBehaviorInstance.init ( StubElement  stub)

Initialize element from stub.

Implements Dragengine.Scenery.ECBehaviorInstance.

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

◆ new()

DefaultECBehaviorInstance Dragengine.Scenery.DefaultECBehaviorInstance.new ( BehaviorElement  element)

Create default composeable instance.

◆ postThink()

◆ readFromFile()

void Dragengine.Scenery.DefaultECBehaviorInstance.readFromFile ( PersistencyEnvironment  env,
FileReader  reader 
)

Read behavior instance from file.

The default implementation reads a single byte expecting value 0 indicating version 0. This allows subclasses to add persistency support by overwriting this method without super calling it.

Implements Dragengine.Scenery.ECBehaviorInstance.

Reimplemented in Dragengine.Scenery.ECBehaviorVRHandLaserPointer.Instance, Dragengine.Scenery.ECBehaviorVRHandAction.Instance, Dragengine.Scenery.ECBehaviorTriggered.Instance, Dragengine.Scenery.ECBehaviorToggle.Instance, Dragengine.Scenery.ECBehaviorTimer.Instance, Dragengine.Scenery.ECBehaviorSpeaker.Instance, Dragengine.Scenery.ECBehaviorSky.Instance, Dragengine.Scenery.ECBehaviorDayTimeSky.Instance, Dragengine.Scenery.ECBehaviorPlayerInputTurn.Instance, Dragengine.Scenery.ECBehaviorPlayerInputMove.Instance, Dragengine.Scenery.ECBehaviorPlayerInputLook.Instance, Dragengine.Scenery.ECBehaviorPlayerInputCrouch.Instance, Dragengine.Scenery.ECBehaviorInventory.Instance, Dragengine.Scenery.ECBehaviorVRHandPointedAt.Instance, Dragengine.Scenery.ECBehaviorOccupier.Instance, Dragengine.Scenery.ECBehaviorLookedAt.Instance, Dragengine.Scenery.ECBehaviorInteractionSpot.Instance, Dragengine.Scenery.ECBehaviorGrabSpot.Instance, Dragengine.Scenery.ECBehaviorSkinSwitcher.Instance, Dragengine.Scenery.ECBehaviorOutline.Instance, Dragengine.Scenery.ECBehaviorStateMachine.Instance, Dragengine.Scenery.ECBehaviorShowElement.Instance, Dragengine.Scenery.ECBehaviorParticleEmitter.Instance, Dragengine.Scenery.ECBehaviorLightDimmer.Instance, Dragengine.Scenery.ECBehaviorLight.Instance, Dragengine.Scenery.ECBehaviorForceField.Instance, Dragengine.Scenery.ECBehaviorCustomColor.Instance, Dragengine.Scenery.ECBehaviorCollider.Instance, Dragengine.Scenery.ECBehaviorConversation.Instance, Dragengine.Scenery.ECBehaviorBehaviorTreeFlags.Instance, Dragengine.Scenery.ECBehaviorAttachSlot.Instance, Dragengine.Scenery.ECBehaviorAttachable.Instance, Dragengine.Scenery.ECBehaviorStepAside.Instance, Dragengine.Scenery.ECBehaviorRideOn.Instance, Dragengine.Scenery.ECBehaviorProjectToGround.Instance, Dragengine.Scenery.ECBehaviorParameterTable.Instance, Dragengine.Scenery.ECBehaviorLocomotion.Instance, Dragengine.Scenery.ECBehaviorFootSteps.Instance, Dragengine.Scenery.ECBehaviorClearPath.Instance, Dragengine.Scenery.ECBehaviorAvoidCollision.Instance, Dragengine.Scenery.ECBehaviorAlignActor.Instance, Dragengine.Scenery.ECBehaviorActorMoverUnstuck.Instance, Dragengine.Scenery.ECBehaviorActorMover.Instance, Dragengine.Scenery.ECBehaviorActorIK.Instance, Dragengine.Scenery.ECBehaviorActorCutscene.ConversationController.Instance, Dragengine.Scenery.ECBehaviorActorAIAction.Instance, and Dragengine.Gui.MainMenus.Interactive.IMMBehaviorColliderInteract.Instance.

◆ removeFromGameWorld()

void Dragengine.Scenery.DefaultECBehaviorInstance.removeFromGameWorld ( )

Remove element from game world.

Implements Dragengine.Scenery.ECBehaviorInstance.

Reimplemented in Dragengine.Scenery.ECBehaviorMoveOnRail.Instance, Dragengine.Scenery.ECBehaviorVRHMD.Instance, Dragengine.Scenery.ECBehaviorVRHandAction.Instance, Dragengine.Scenery.ECBehaviorTouchSensor.Instance, Dragengine.Scenery.ECBehaviorTouching.Instance, Dragengine.Scenery.ECBehaviorToggle.Instance, Dragengine.Scenery.ECBehaviorTimer.Instance, Dragengine.Scenery.ECBehaviorEvaluate.Instance, Dragengine.Scenery.ECBehaviorSpeaker.Instance, Dragengine.Scenery.ECBehaviorHearSounds.Instance, Dragengine.Scenery.ECBehaviorAnnouncer.Instance, Dragengine.Scenery.ECBehaviorSky.Instance, Dragengine.Scenery.ECBehaviorInventory.Instance, Dragengine.Scenery.ECBehaviorGrabSpot.Instance, Dragengine.Scenery.ECBehaviorGrabber.Instance, Dragengine.Scenery.ECBehaviorOutline.Instance, Dragengine.Scenery.ECBehaviorNavigationSpace.Instance, Dragengine.Scenery.ECBehaviorNavigationBlocker.Instance, Dragengine.Scenery.ECBehaviorLight.Instance, Dragengine.Scenery.ECBehaviorForceField.Instance, Dragengine.Scenery.ECBehaviorEnvMapProbe.Instance, Dragengine.Scenery.ECBehaviorConvoCoordSystem.Instance, Dragengine.Scenery.ECBehaviorComponent.Instance, Dragengine.Scenery.ECBehaviorCollider.Instance, Dragengine.Scenery.ECBehaviorCamera.Instance, Dragengine.Scenery.ECBehaviorBillboard.Instance, Dragengine.Scenery.ECBehaviorAnchorElement.Instance, Dragengine.Scenery.ECBehaviorAttachSlot.Instance, Dragengine.Scenery.ECBehaviorRideOn.Instance, Dragengine.Scenery.ECBehaviorProjectToGround.Instance, Dragengine.Scenery.ECBehaviorNavigator.Instance, Dragengine.Scenery.ECBehaviorColliderAI.Instance, Dragengine.Scenery.ECBehaviorAvoidCollision.Instance, Dragengine.Scenery.ECBehaviorActorMoverUnstuck.Instance, Dragengine.Scenery.ECBehaviorActorMover.Instance, Dragengine.Scenery.ECBehaviorActorAIAction.Instance, Dragengine.Gui.MainMenus.Interactive.IMMBehaviorHotSpot.Instance, and Dragengine.Gui.MainMenus.Interactive.IMMBehaviorColliderInteract.Instance.

◆ requiresEnterFrame()

bool Dragengine.Scenery.DefaultECBehaviorInstance.requiresEnterFrame ( )

Behavior instance requires enterFrame() to be called.

Implements Dragengine.Scenery.ECBehaviorInstance.

◆ requiresThink()

bool Dragengine.Scenery.DefaultECBehaviorInstance.requiresThink ( )

Behavior instance requires think() to be called.

Implements Dragengine.Scenery.ECBehaviorInstance.

◆ setRequiresEnterFrame()

void Dragengine.Scenery.DefaultECBehaviorInstance.setRequiresEnterFrame ( bool  required)
protected

Set if behavior instance requires enterFrame() to be called.

◆ setRequiresThink()

void Dragengine.Scenery.DefaultECBehaviorInstance.setRequiresThink ( bool  required)
protected

Set if behavior instance requires think() to be called.

◆ stateChanged()

◆ think()

◆ writeToFile()

void Dragengine.Scenery.DefaultECBehaviorInstance.writeToFile ( PersistencyEnvironment  env,
FileWriter  writer 
)

Write behavior instance to file.

The default implementation writes a single byte of value 0 indicating version 0. This allows subclasses to add persistency support by overwriting this method without super calling it.

Implements Dragengine.Scenery.ECBehaviorInstance.

Reimplemented in Dragengine.Scenery.ECBehaviorMoveOnRail.Instance, Dragengine.Scenery.ECBehaviorVRHandPointAt.Instance, Dragengine.Scenery.ECBehaviorVRHandLaserPointer.Instance, Dragengine.Scenery.ECBehaviorVRHandAction.Instance, Dragengine.Scenery.ECBehaviorTimer.Instance, Dragengine.Scenery.ECBehaviorSpeaker.Instance, Dragengine.Scenery.ECBehaviorSky.Instance, Dragengine.Scenery.ECBehaviorDayTimeSky.Instance, Dragengine.Scenery.ECBehaviorPlayerInputTurn.Instance, Dragengine.Scenery.ECBehaviorPlayerInputMove.Instance, Dragengine.Scenery.ECBehaviorPlayerInputLook.Instance, Dragengine.Scenery.ECBehaviorPlayerInputCrouch.Instance, Dragengine.Scenery.ECBehaviorInventory.Instance, Dragengine.Scenery.ECBehaviorLookedAt.Instance, Dragengine.Scenery.ECBehaviorSkinSwitcher.Instance, Dragengine.Scenery.ECBehaviorOutline.Instance, Dragengine.Scenery.ECBehaviorStateMachine.Instance, Dragengine.Scenery.ECBehaviorShowElement.Instance, Dragengine.Scenery.ECBehaviorParticleEmitter.Instance, Dragengine.Scenery.ECBehaviorLightDimmer.Instance, Dragengine.Scenery.ECBehaviorLight.Instance, Dragengine.Scenery.ECBehaviorForceField.Instance, Dragengine.Scenery.ECBehaviorCustomColor.Instance, Dragengine.Scenery.ECBehaviorCollider.Instance, Dragengine.Scenery.ECBehaviorConversation.Instance, Dragengine.Scenery.ECBehaviorBehaviorTreeFlags.Instance, Dragengine.Scenery.ECBehaviorStepAside.Instance, Dragengine.Scenery.ECBehaviorProjectToGround.Instance, Dragengine.Scenery.ECBehaviorParameterTable.Instance, Dragengine.Scenery.ECBehaviorLocomotion.Instance, Dragengine.Scenery.ECBehaviorFootSteps.Instance, Dragengine.Scenery.ECBehaviorColliderAI.Instance, Dragengine.Scenery.ECBehaviorClearPath.Instance, Dragengine.Scenery.ECBehaviorBehaviorTree.Instance, Dragengine.Scenery.ECBehaviorActorTransmission.Instance, Dragengine.Scenery.ECBehaviorActorMoverUnstuck.Instance, Dragengine.Scenery.ECBehaviorActorCutscene.ConversationController.Instance, Dragengine.Scenery.ECBehaviorActorAnimated.Instance, and Dragengine.Scenery.ECBehaviorActorAIAction.Instance.


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