Drag[en]gine Script Module DragonScript
1.23
|
Behavior instance interface providing the actual element behavior. More...
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 composeable instance. More... | |
void | enterFrame () |
Frame update started. More... | |
void | geometryChanged () |
Position, orientation or size 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... | |
void | postThink (float elapsed) |
Post thinking after physics processing is finished. More... | |
void | readFromFile (PersistencyEnvironment env, FileReader reader) |
Read element 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 element to file. More... | |
Behavior instance interface providing the actual element behavior.
void Dragengine.Scenery.ECBehaviorInstance.addToGameWorld | ( | ) |
Add element to game world.
Implemented 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.DefaultECBehaviorInstance, 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.
void Dragengine.Scenery.ECBehaviorInstance.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().
Implemented in Dragengine.Scenery.ECBehaviorAttachDynamicSkin.Instance, Dragengine.Scenery.DefaultECBehaviorInstance, and Dragengine.Scenery.ECBehaviorAttachToParent.Instance.
void Dragengine.Scenery.ECBehaviorInstance.dispose | ( | ) |
Dispose of composeable instance.
Implemented 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.DefaultECBehaviorInstance, 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.
void Dragengine.Scenery.ECBehaviorInstance.enterFrame | ( | ) |
Frame update started.
Implemented in Dragengine.Scenery.ECBehaviorMoveOnRail.Instance, Dragengine.Scenery.ECBehaviorVRHandAction.Instance, Dragengine.Scenery.ECBehaviorInventory.Instance, Dragengine.Scenery.ECBehaviorOccupier.Instance, Dragengine.Scenery.ECBehaviorLookedAt.Instance, Dragengine.Scenery.ECBehaviorInteractionSpot.Instance, Dragengine.Scenery.ECBehaviorGrabSpot.Instance, Dragengine.Scenery.DefaultECBehaviorInstance, Dragengine.Scenery.ECBehaviorAttachSlot.Instance, Dragengine.Scenery.ECBehaviorAttachable.Instance, Dragengine.Scenery.ECBehaviorRideOn.Instance, Dragengine.Scenery.ECBehaviorAvoidCollision.Instance, Dragengine.Scenery.ECBehaviorAlignActor.Instance, Dragengine.Scenery.ECBehaviorActorMover.Instance, Dragengine.Scenery.ECBehaviorActorIK.Instance, and Dragengine.Scenery.ECBehaviorActorAIAction.Instance.
void Dragengine.Scenery.ECBehaviorInstance.geometryChanged | ( | ) |
Position, orientation or size changed.
Implemented in Dragengine.Scenery.ECBehaviorVRPlayspace.Instance, Dragengine.Scenery.ECBehaviorNStateGeometry.Instance, Dragengine.Scenery.ECBehaviorCollider.Instance, Dragengine.Scenery.DefaultECBehaviorInstance, Dragengine.Scenery.ECBehaviorLocomotion.Instance, and Dragengine.Scenery.ECBehaviorColliderAI.Instance.
BehaviorElement Dragengine.Scenery.ECBehaviorInstance.getElement | ( | ) |
Behavior element to apply behavior to.
Implemented in Dragengine.Scenery.DefaultECBehaviorInstance.
int Dragengine.Scenery.ECBehaviorInstance.getInstanceIndex | ( | ) |
Behavior instance index.
Implemented in Dragengine.Scenery.DefaultECBehaviorInstance.
void Dragengine.Scenery.ECBehaviorInstance.init | ( | StubElement | stub | ) |
Initialize element from stub.
Implemented 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.DefaultECBehaviorInstance, 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.
void Dragengine.Scenery.ECBehaviorInstance.postThink | ( | float | elapsed | ) |
Post thinking after physics processing is finished.
Implemented in Dragengine.Scenery.ECBehaviorVRHandPointAt.Instance, Dragengine.Scenery.ECBehaviorVRHandAction.Instance, Dragengine.Scenery.DefaultECBehaviorInstance, Dragengine.Scenery.ECBehaviorAnimated.Instance, Dragengine.Scenery.ECBehaviorRideOn.Instance, Dragengine.Scenery.ECBehaviorProjectToGround.Instance, Dragengine.Scenery.ECBehaviorLookAt.Instance, Dragengine.Scenery.ECBehaviorFootSteps.Instance, and Dragengine.Scenery.ECBehaviorActorAIAction.Instance.
void Dragengine.Scenery.ECBehaviorInstance.readFromFile | ( | PersistencyEnvironment | env, |
FileReader | reader | ||
) |
Read element from file.
Implemented 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.DefaultECBehaviorInstance, 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.
void Dragengine.Scenery.ECBehaviorInstance.removeFromGameWorld | ( | ) |
Remove element from game world.
Implemented 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.DefaultECBehaviorInstance, 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.
bool Dragengine.Scenery.ECBehaviorInstance.requiresEnterFrame | ( | ) |
Behavior instance requires enterFrame() to be called.
Implemented in Dragengine.Scenery.DefaultECBehaviorInstance.
bool Dragengine.Scenery.ECBehaviorInstance.requiresThink | ( | ) |
Behavior instance requires think() to be called.
Implemented in Dragengine.Scenery.DefaultECBehaviorInstance.
void Dragengine.Scenery.ECBehaviorInstance.stateChanged | ( | ) |
State changed (visble, touchable).
Implemented in Dragengine.Scenery.ECBehaviorVRHandLaserPointer.Instance, Dragengine.Scenery.ECBehaviorSpeaker.Instance, Dragengine.Scenery.ECBehaviorAnnouncer.Instance, Dragengine.Scenery.ECBehaviorGrabSpot.Instance, Dragengine.Scenery.ECBehaviorOutline.Instance, Dragengine.Scenery.ECBehaviorLight.Instance, Dragengine.Scenery.ECBehaviorForceField.Instance, Dragengine.Scenery.ECBehaviorComponent.Instance, Dragengine.Scenery.ECBehaviorCollider.Instance, Dragengine.Scenery.ECBehaviorBillboard.Instance, Dragengine.Scenery.DefaultECBehaviorInstance, Dragengine.Scenery.ECBehaviorAttachSlot.Instance, Dragengine.Scenery.ECBehaviorProjectToGround.Instance, and Dragengine.Scenery.ECBehaviorColliderAI.Instance.
void Dragengine.Scenery.ECBehaviorInstance.think | ( | float | elapsed | ) |
Think about what to do for the next frame update.
Implemented in Dragengine.Scenery.ECBehaviorMoveOnRail.Instance, Dragengine.Scenery.ECBehaviorVRHandAction.Instance, Dragengine.Scenery.ECBehaviorTimer.Instance, Dragengine.Scenery.ECBehaviorAnnouncer.Instance, Dragengine.Scenery.ECBehaviorSky.Instance, Dragengine.Scenery.ECBehaviorNStateLocomotion.Instance, Dragengine.Scenery.ECBehaviorLightDimmer.Instance, Dragengine.Scenery.DefaultECBehaviorInstance, Dragengine.Scenery.ECBehaviorConversation.Instance, Dragengine.Scenery.ECBehaviorTwoStateAnimated.Instance, Dragengine.Scenery.ECBehaviorAnimated.Instance, Dragengine.Scenery.ECBehaviorClearPath.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.ECBehaviorActorAIAction.Instance, and Dragengine.Gui.MainMenus.Interactive.IMMBehaviorHotSpot.Instance.
void Dragengine.Scenery.ECBehaviorInstance.writeToFile | ( | PersistencyEnvironment | env, |
FileWriter | writer | ||
) |
Write element to file.
Implemented 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.DefaultECBehaviorInstance, 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.