Drag[en]gine Script Module DragonScript
1.21
|
Behavior for BehaviorElement. More...
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... | |
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.
void Dragengine.Scenery.ECBehavior.assignInstanceIndex | ( | int | instanceIndex | ) |
Assign instance index.
Implemented in Dragengine.Scenery.DefaultECBehavior.
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.
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.
int Dragengine.Scenery.ECBehavior.getInstanceIndex | ( | ) |
Instance index.
Implemented in Dragengine.Scenery.DefaultECBehavior.