Drag[en]gine Script Module DragonScript
1.23
|
Basic VR actor class. More...
Public Member Functions | |
ECBehaviorVRHMD.Instance | getVRHMD () |
VR HMD. More... | |
ECBehaviorVRHand.Instance | getVRLeftHand () |
VR Left Hand Controller. More... | |
ECBehaviorVRHandAction.Instance | getVRLeftHandAction () |
VR Left Hand Action. More... | |
ECBehaviorActorAnimated.Instance | getVRLeftHandAnimated () |
VR Left Hand Animated. More... | |
ECBehaviorAttachSlot.Instance | getVRLeftHandAttachSlot () |
VR Left Hand Controller Attach Slot. More... | |
ECBehaviorGrabber.Instance | getVRLeftHandGrabber () |
VR Left Hand Controller Grabber. More... | |
ECBehaviorVRHandLaserPointer.Instance | getVRLeftHandLaserPointer () |
VR Left Hand Controller Laser Pointer. More... | |
ECBehaviorVRHandPointAt.Instance | getVRLeftHandPointAt () |
VR Left Hand Controller Point-At. More... | |
ECBehaviorVRHandPose.Instance | getVRLeftHandPose () |
VR Left Hand Pose. More... | |
ECBehaviorVRPlayspace.Instance | getVRPlayspace () |
VR Playspace behavior instance. More... | |
ECBehaviorVRHand.Instance | getVRRightHand () |
VR Right Hand Controller. More... | |
ECBehaviorVRHandAction.Instance | getVRRightHandAction () |
VR Right Hand Action. More... | |
ECBehaviorActorAnimated.Instance | getVRRightHandAnimated () |
VR Right Hand Animated. More... | |
ECBehaviorAttachSlot.Instance | getVRRightHandAttachSlot () |
VR Right Hand Controller Attach Slot. More... | |
ECBehaviorGrabber.Instance | getVRRightHandGrabber () |
VR Right Hand Controller Grabber. More... | |
ECBehaviorVRHandLaserPointer.Instance | getVRRightHandLaserPointer () |
VR Right Hand Controller Laser Pointer. More... | |
ECBehaviorVRHandPointAt.Instance | getVRRightHandPointAt () |
VR Right Hand Controller Point-At. More... | |
ECBehaviorVRHandPose.Instance | getVRRightHandPose () |
VR Right Hand Pose. More... | |
BaseVRActor | new (BaseVRActorClass eclass) |
Create element. More... | |
void | visit (ElementVisitor visitor) |
Visit element. More... | |
Public Member Functions inherited from Dragengine.Scenery.BaseActor | |
void | addToGameWorld () |
Add to game world. More... | |
ECBehaviorActorAnimated.Instance | getActorAnimated () |
Actor animated behavior instance. More... | |
ECBehaviorActorMover.Instance | getActorMover () |
Actor mover instance. More... | |
ECBehaviorActorAIAction.Instance | getAIAction () |
AI-Action instance. More... | |
ECBehaviorAlignActor.Instance | getAlignActor () |
Align actor instance. More... | |
ECBehaviorAvoidCollision.Instance | getAvoidCollision () |
Avoid collision instance. More... | |
ECBehaviorAvoidedByActor.Instance | getAvoidedByActor () |
Avoided by actor instance. More... | |
ECBehaviorCollider.Instance | getCollider () |
Collider behavior instance. More... | |
ECBehaviorColliderAI.Instance | getColliderAI () |
Collider AI behavior instance. More... | |
ECBehaviorComponent.Instance | getComponent () |
Component behavio instance. More... | |
ECBehaviorConversationActor.Instance | getConversationActor () |
Conversation actor instance. More... | |
ECBehaviorFootSteps.Instance | getFootSteps () |
Foot steps instance. More... | |
ECBehaviorLocomotion.Instance | getLocomotion () |
Locomotion behavior instance. More... | |
ECBehaviorNavigator.Instance | getNavigator () |
Navigator instance. More... | |
ECBehaviorParameterTable.Instance | getParameterTable () |
Parameter table instance. More... | |
ECBehaviorPlayerControllable.Instance | getPlayerControllable () |
Player controllable instance. More... | |
ECBehaviorPlayerInputCrouch.Instance | getPlayerInputCrouch () |
Player input crouching behavior instance. More... | |
ECBehaviorPlayerInputLook.Instance | getPlayerInputLook () |
Player input looking around behavior instance. More... | |
ECBehaviorPlayerInputMove.Instance | getPlayerInputMove () |
Player input moving behavior instance. More... | |
ECBehaviorPlayerInputTurn.Instance | getPlayerInputTurn () |
Player input turning behavior instance. More... | |
ECBehaviorProjectToGround.Instance | getProjectToGround () |
Project to ground behavior instance. More... | |
ECBehaviorRideOn.Instance | getRideOn () |
Ride on instance. More... | |
void | init (StubElement stub) |
Initialize element from stub. More... | |
BaseActor | new (BaseActorClass eclass) |
Create element. More... | |
void | readFromFile (PersistencyEnvironment env, FileReader reader) |
Read element from file. More... | |
void | teleportAdjustActor () |
Adjust actor after teleporting. More... | |
void | writeToFile (PersistencyEnvironment env, FileWriter writer) |
Public Member Functions inherited from Dragengine.Scenery.BehaviorElement | |
void | addAttachableBehavior (ECAttachableBehavior behavior) |
Add attached behavior. More... | |
Array | collectAttachableBehaviors (Block ablock) |
Collect attached behaviors with block into Array. More... | |
Array | collectInstances (Block ablock) |
Collect behavior instance with block into Array. More... | |
ECAttachableBehavior | findAttachableBehavior (Block ablock) |
Find attached behavior with block. More... | |
ECBehaviorInstance | findInstance (Block ablock) |
Find behavior instance with block. More... | |
void | forEachAttachableBehavior (Block ablock) |
Visit attached s with block. More... | |
void | forEachAttachableBehaviorReverse (Block ablock) |
Visit attached behaviors with block in reverse order. More... | |
void | forEachInstance (Block ablock) |
Visit behavior instances with block. More... | |
void | forEachInstanceReverse (Block ablock) |
Visit behavior instances with block in reverse order. More... | |
ECAttachableBehavior | getAttachableBehaviorAt (int index) |
Attached behavior at index. More... | |
int | getAttachableBehaviorCount () |
Count of attachaed behaviors. More... | |
bool | getRequiresAttachToParent () |
Attach to parent has not been processed yet. More... | |
bool | getRequiresEnterFrame () |
Sub-class requires enterFrame() to be called. More... | |
bool | getRequiresThink () |
Sub-class requires think() to be called. More... | |
bool | isChangingGameWorld () |
Behavior element is in progress of beeing added to or removed from a GameWorld. More... | |
bool | isReallyInGameWorld () |
Element is in GameWorld and not in progress of beeing removed from it. More... | |
BehaviorElement | new (BehaviorElementClass eclass) |
Create element. More... | |
void | onSetPosition () |
Position changed. More... | |
void | removeAttachableBehavior (ECAttachableBehavior behavior) |
Remove attached behavior. More... | |
void | requiresThinkChanged () |
Requires thinking changed. More... | |
void | setRequiresAttachToParent (bool requiresAttachToParent) |
Set if attach to parent has not been processed yet. More... | |
Public Member Functions inherited from Dragengine.Scenery.Element | |
Dictionary | debugInformation () |
Debug information as Dictionary. More... | |
void | dispose () |
Dispose of element. More... | |
void | enterFrame () |
Frame update started. More... | |
ElementClass | getClass () |
DMatrix | getElementMatrix () |
Matrix to transform from element space into world space. More... | |
GameWorld | getGameWorld () |
UniqueID | getID () |
DMatrix | getInverseElementMatrix () |
Matrix to transform from world space into element space. More... | |
bool | getIsScaled () |
Is scaled. More... | |
Quaternion | getOrientation () |
Orientation. More... | |
Element | getParent () |
DVector | getPosition () |
Position. More... | |
Vector | getScaling () |
Scaling. More... | |
StubElement | getStub () |
Element stub used to create the element. More... | |
bool | getTouchable () |
bool | getVisible () |
bool | isChildOf (Element parent) |
bool | isDisposed () |
Element has been disposed of. More... | |
bool | isMyselfOrChildOf (Element parent) |
bool | isNotDisposed () |
Element has not been disposed of. More... | |
void | log (String message) |
Log using BaseGameApp Console if present. More... | |
Element | new (ElementClass elementClass) |
void | onSetGameWorld () |
void | onSetGeometry () |
Position, orientation or scaling changed. More... | |
void | onSetOrientation () |
Orientation changed. More... | |
void | onSetParent () |
void | onSetScaling () |
Scaling changed. More... | |
void | onSetTouchable () |
void | onSetVisible () |
void | postThink (float elapsed) |
void | removeFromGameWorld () |
void | removeFromGameWorldIfPresent () |
Remove element from game world if present. More... | |
void | safeDispose () |
Remove element from game world if present and dispose of element. More... | |
void | setGameWorld (GameWorld gameWorld) |
void | setGeometry (DVector position, Quaternion orientation) |
Set position and orientation. More... | |
void | setGeometry (DVector position, Quaternion orientation, Vector scaling) |
Set position, orientation and scaling of element. More... | |
void | setID (UniqueID id) |
void | setOrientation (Quaternion orientation) |
Set orientation. More... | |
void | setParent (Element parent) |
void | setPosition (DVector position) |
Set position. More... | |
void | setScaling (Vector scaling) |
Set scaling. More... | |
void | setStub (StubElement stub) |
Set element stub used to create the element. More... | |
void | setTouchable (bool touchable) |
void | setVisible (bool visible) |
void | think (float elapsed) |
String | toString () |
void | updateStubGeometryFromElement () |
Update stub position, rotation and scaling from element. More... | |
void | writeToFileWithStub (PersistencyEnvironment env, FileWriter writer) |
Write element to file writer with stub. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from Dragengine.Scenery.Element | |
static Element | readElementFromFileWithStub (PersistencyEnvironment env, FileReader reader, ElementClassList ElementClassList) |
Load element from file reader with stub supporting null element. More... | |
static void | writeElementToFileWithStub (PersistencyEnvironment env, FileWriter writer, Element element) |
Write element to file writer with stub supporting null element. More... | |
Public Attributes inherited from Dragengine.Scenery.BaseActor | |
ECBehaviorActorAnimated.Instance | pActorAnimated |
ECBehaviorActorMover.Instance | pActorMover |
ECBehaviorActorAIAction.Instance | pAIAction |
ECBehaviorAlignActor.Instance | pAlignActor |
ECBehaviorAvoidCollision.Instance | pAvoidCollision |
ECBehaviorAvoidedByActor.Instance | pAvoidedByActor |
ECBehaviorCollider.Instance | pCollider |
ECBehaviorColliderAI.Instance | pColliderAI |
ECBehaviorComponent.Instance | pComponent |
ECBehaviorConversationActor.Instance | pConversationActor |
ECBehaviorFootSteps.Instance | pFootSteps |
ECBehaviorLocomotion.Instance | pLocomotion |
ECBehaviorNavigator.Instance | pNavigator |
ECBehaviorParameterTable.Instance | pParameterTable |
ECBehaviorPlayerControllable.Instance | pPlayerControllable |
ECBehaviorPlayerInputCrouch.Instance | pPlayerInputCrouch |
ECBehaviorPlayerInputLook.Instance | pPlayerInputLook |
ECBehaviorPlayerInputMove.Instance | pPlayerInputMove |
ECBehaviorPlayerInputTurn.Instance | pPlayerInputTurn |
ECBehaviorProjectToGround.Instance | pProjectToGround |
ECBehaviorRideOn.Instance | pRideOn |
Public Attributes inherited from Dragengine.Scenery.BehaviorElement | |
Array | pAttachableBehaviors |
Array | pInstances |
bool | pIsChangingGameWorld |
bool | pIsThinker |
bool | pRequiresAttachToParent |
bool | pRequiresEnterFrame |
bool | pRequiresThink |
Public Attributes inherited from Dragengine.Scenery.Element | |
ElementClass | pClass |
GameWorld | pGameWorld |
UniqueID | pID |
bool | pIsScaled |
DMatrix | pMatrix |
DMatrix | pMatrixInverse |
Quaternion | pOrientation |
Element | pParent |
DVector | pPosition |
Vector | pScaling |
StubElement | pStub |
bool | pTouchable |
bool | pVisible |
Protected Member Functions inherited from Dragengine.Scenery.BaseActor | |
void | initAvoidCollisionShape (StubElement stub) |
Initialize avoid collision collider shape. More... | |
void | initColliderShape (StubElement stub) |
Initialize collider AI shape. More... | |
void | initNavigator (StubElement stub) |
Initialize navigator. More... | |
void | initProjectToGroundShapes (StubElement stub) |
Initialize project to ground shapes. More... | |
void | spawnAdjustActor () |
Adjust actor after spawning. More... | |
Protected Member Functions inherited from Dragengine.Scenery.BehaviorElement | |
void | setRequiresEnterFrame (bool requiresEnterFrame) |
Set if sub-class requires enterFrame() to be called. More... | |
void | setRequiresThink (bool requiresThink) |
Set if sub-class requires think() to be called. More... | |
ECBehaviorVRHMD.Instance Dragengine.Scenery.BaseVRActor.getVRHMD | ( | ) |
VR HMD.
ECBehaviorVRHand.Instance Dragengine.Scenery.BaseVRActor.getVRLeftHand | ( | ) |
VR Left Hand Controller.
ECBehaviorVRHandAction.Instance Dragengine.Scenery.BaseVRActor.getVRLeftHandAction | ( | ) |
VR Left Hand Action.
ECBehaviorActorAnimated.Instance Dragengine.Scenery.BaseVRActor.getVRLeftHandAnimated | ( | ) |
VR Left Hand Animated.
ECBehaviorAttachSlot.Instance Dragengine.Scenery.BaseVRActor.getVRLeftHandAttachSlot | ( | ) |
VR Left Hand Controller Attach Slot.
ECBehaviorGrabber.Instance Dragengine.Scenery.BaseVRActor.getVRLeftHandGrabber | ( | ) |
VR Left Hand Controller Grabber.
ECBehaviorVRHandLaserPointer.Instance Dragengine.Scenery.BaseVRActor.getVRLeftHandLaserPointer | ( | ) |
VR Left Hand Controller Laser Pointer.
ECBehaviorVRHandPointAt.Instance Dragengine.Scenery.BaseVRActor.getVRLeftHandPointAt | ( | ) |
VR Left Hand Controller Point-At.
ECBehaviorVRHandPose.Instance Dragengine.Scenery.BaseVRActor.getVRLeftHandPose | ( | ) |
VR Left Hand Pose.
ECBehaviorVRPlayspace.Instance Dragengine.Scenery.BaseVRActor.getVRPlayspace | ( | ) |
VR Playspace behavior instance.
ECBehaviorVRHand.Instance Dragengine.Scenery.BaseVRActor.getVRRightHand | ( | ) |
VR Right Hand Controller.
ECBehaviorVRHandAction.Instance Dragengine.Scenery.BaseVRActor.getVRRightHandAction | ( | ) |
VR Right Hand Action.
ECBehaviorActorAnimated.Instance Dragengine.Scenery.BaseVRActor.getVRRightHandAnimated | ( | ) |
VR Right Hand Animated.
ECBehaviorAttachSlot.Instance Dragengine.Scenery.BaseVRActor.getVRRightHandAttachSlot | ( | ) |
VR Right Hand Controller Attach Slot.
ECBehaviorGrabber.Instance Dragengine.Scenery.BaseVRActor.getVRRightHandGrabber | ( | ) |
VR Right Hand Controller Grabber.
ECBehaviorVRHandLaserPointer.Instance Dragengine.Scenery.BaseVRActor.getVRRightHandLaserPointer | ( | ) |
VR Right Hand Controller Laser Pointer.
ECBehaviorVRHandPointAt.Instance Dragengine.Scenery.BaseVRActor.getVRRightHandPointAt | ( | ) |
VR Right Hand Controller Point-At.
ECBehaviorVRHandPose.Instance Dragengine.Scenery.BaseVRActor.getVRRightHandPose | ( | ) |
VR Right Hand Pose.
BaseVRActor Dragengine.Scenery.BaseVRActor.new | ( | BaseVRActorClass | eclass | ) |
Create element.
void Dragengine.Scenery.BaseVRActor.visit | ( | ElementVisitor | visitor | ) |
Visit element.
Reimplemented from Dragengine.Scenery.BaseActor.