Drag[en]gine Script Module DragonScript  1.23
Dragengine.Scenery.BaseVRActorClass Class Reference

VR Actor element class. More...

Inheritance diagram for Dragengine.Scenery.BaseVRActorClass:
Dragengine.Scenery.BaseActorClass Dragengine.Scenery.BehaviorElementClass Dragengine.Scenery.ElementClass Dragengine.ResourceListener

Public Member Functions

ECBehaviorVRHMD getVRHMD ()
 VR HMD. More...
 
ECBehaviorVRHand getVRLeftHand ()
 VR Left Hand Controller. More...
 
ECBehaviorVRHandAction getVRLeftHandAction ()
 VR Left Hand Action. More...
 
ECBehaviorActorAnimated getVRLeftHandAnimated ()
 VR Left Hand Animated. More...
 
ECBehaviorAttachSlot getVRLeftHandAttachSlot ()
 VR Left Hand Controller Attach Slot. More...
 
ECBehaviorGrabber getVRLeftHandGrabber ()
 VR Left Hand Controller Grabber. More...
 
ECBehaviorVRHandLaserPointer getVRLeftHandLaserPointer ()
 VR Left Hand Controller Laser Pointer. More...
 
ECBehaviorVRHandPointAt getVRLeftHandPointAt ()
 VR Left Hand Controller Point-At. More...
 
ECBehaviorVRHandPose getVRLeftHandPose ()
 VR Left Hand Pose. More...
 
ECBehaviorVRPlayspace getVRPlayspace ()
 VR Playspace behavior. More...
 
ECBehaviorVRHand getVRRightHand ()
 VR Right Hand Controller. More...
 
ECBehaviorVRHandAction getVRRightHandAction ()
 VR Right Hand Action. More...
 
ECBehaviorActorAnimated getVRRightHandAnimated ()
 VR Right Hand Animated. More...
 
ECBehaviorAttachSlot getVRRightHandAttachSlot ()
 VR Right Hand Controller Attach Slot. More...
 
ECBehaviorGrabber getVRRightHandGrabber ()
 VR Right Hand Controller Grabber. More...
 
ECBehaviorVRHandLaserPointer getVRRightHandLaserPointer ()
 VR Right Hand Controller Laser Pointer. More...
 
ECBehaviorVRHandPointAt getVRRightHandPointAt ()
 VR Right Hand Controller Point-At. More...
 
ECBehaviorVRHandPose getVRRightHandPose ()
 VR Right Hand Pose. More...
 
BaseVRActorClass new ()
 Create element class using loaders from BaseGameApp. More...
 
BaseVRActorClass new (Loaders loaders, ECBehaviorPlayerControllable.Tracker tracker)
 Create element class. More...
 
BaseVRActorClass new (String className)
 Create element class using loaders from BaseGameApp. More...
 
BaseVRActorClass new (String className, Loaders loaders, ECBehaviorPlayerControllable.Tracker tracker)
 Create element class. More...
 
- Public Member Functions inherited from Dragengine.Scenery.BaseActorClass
ECBehaviorActorAnimated getActorAnimated ()
 Actor animated behavior. More...
 
ECBehaviorActorMover getActorMover ()
 Actor mover behavior. More...
 
ECBehaviorActorAIAction getAIAction ()
 AI-Action behavior. More...
 
ECBehaviorAlignActor getAlignActor ()
 Align actor behavior. More...
 
ECBehaviorAvoidCollision getAvoidCollision ()
 Avoid collision behavior. More...
 
ECBehaviorAvoidedByActor getAvoidedByActor ()
 Avoided by actor behavior. More...
 
ECBehaviorCollider getCollider ()
 Collider behavior. More...
 
ECBehaviorColliderAI getColliderAI ()
 Collider AI behavior. More...
 
ECBehaviorComponent getComponent ()
 Component behavior. More...
 
ECBehaviorConversationActor getConversationActor ()
 Conversation actor behavior. More...
 
ECBCTRRBindings getCTRRBindings ()
 Binding tag resolver for conversation actor behavior. More...
 
ECBehaviorFootSteps getFootSteps ()
 Foot steps behavior. More...
 
ECBehaviorLocomotion getLocomotion ()
 Locomotion behavior. More...
 
ECBehaviorNavigator getNavigator ()
 Navigator behavior. More...
 
ECBehaviorParameterTable getParameterTable ()
 Parameter table behavior. More...
 
ECBehaviorPlayerControllable getPlayerControllable ()
 Player controllable behavior. More...
 
ECBehaviorPlayerInputCrouch getPlayerInputCrouch ()
 Player input crouching behavior. More...
 
ECBehaviorPlayerInputLook getPlayerInputLook ()
 Player input looking around behavior. More...
 
ECBehaviorPlayerInputMove getPlayerInputMove ()
 Player input moving behavior. More...
 
ECBehaviorPlayerInputTurn getPlayerInputTurn ()
 Player input turning behavior. More...
 
ECBehaviorProjectToGround getProjectToGround ()
 Project to ground behavior. More...
 
ECBehaviorRideOn getRideOn ()
 Ride on behavior. More...
 
- Public Member Functions inherited from Dragengine.Scenery.BehaviorElementClass
void addBehavior (ECBehavior behavior)
 Add behavior. More...
 
void addPrepareStubBehavior (BehaviorPrepareStub behavior)
 Add behavior to be notified before initialization is done. More...
 
Array collectBehaviors (Block ablock)
 Collect behaviors with block into Array. More...
 
void createAndAddElement (StubElement stub, GameWorld gameWorld)
 Create element from given stub and add it to game world. More...
 
void dispose ()
 Dispose of element class. More...
 
ECBehavior findBehavior (Block ablock)
 Find behavior with block. More...
 
void forEachBehavior (Block ablock)
 Visit behaviors with block. More...
 
void forEachBehaviorDirect (Block ablock)
 Visit behaviors with block. More...
 
void forEachPrepareStubBehavior (Block ablock)
 Visit prepare stub behaviors with block. version 1.23. More...
 
void forEachPreventCreationBehavior (Block ablock)
 Visit prevent creation behaviors with block. version 1.23. More...
 
ECBehavior getBehaviorAt (int index)
 Behavior at index. More...
 
BehaviorElementClass new (Loaders loaders)
 Create element class. More...
 
BehaviorElementClass new (String className, Loaders loaders)
 Create element class. More...
 
void prepareStubs (StubElement stub, GameWorld gameWorld, bool loading)
 Call prepareStub on all prepare stub behaviors. More...
 
bool preventCreation (StubElement stub, GameWorld gameWorld)
 Call prepareStub on all prepare stub behaviors. More...
 
- Public Member Functions inherited from Dragengine.Scenery.ElementClass
void addProperty (ElementClassProperty property)
 Add property. More...
 
void copyPropertyValues (ElementClass eclass)
 Copy values of properties from another class to properties of this class. More...
 
Element createElement (StubElement stub)
 Create element instance from stub. More...
 
ElementClass duplicateNamed (String classname)
 Create duplicate of class with new name. More...
 
bool equals (Object obj)
 Element class is equal to another object. More...
 
void failedLoading (String path, ResourceLoaderType resourceType)
 Resource failed loading. More...
 
void finishedLoading (String path, ResourceLoaderType resourceType, Object resource)
 Resource finished loading successfully. More...
 
void forEachProperty (Block ablock)
 Visit properties with block with parameter ElementClass. More...
 
String getBasePath ()
 Base path for relative loading of resource properties. More...
 
CodecPropertyString getCodecPropertyString ()
 Property codec helper. More...
 
bool getIsXmlElementClass ()
 Element class is an XML element class. More...
 
bool getPersistable ()
 Element class is persistable to file writers. More...
 
int getPropertyCount ()
 Number of properties. More...
 
ElementClassProperty getPropertyNamed (String name)
 Named property or null if absent. More...
 
Array getPropertyNames ()
 List of property names as array of strings. More...
 
TSTriggerExpressionParser getTriggerExpressionParser ()
 Trigger expression parser. More...
 
int hashCode ()
 Hash code. More...
 
bool hasPropertyNamed (String name)
 Named property is present. More...
 
Object injectProperty (Object injectValue, Block ablock)
 Process value visiting properties. More...
 
void loadAndAddElement (PersistencyEnvironment env, StubElement stub, FileReader reader, GameWorld gameWorld)
 Load element from file reader and add it to game world. More...
 
Element loadElement (PersistencyEnvironment env, StubElement stub, FileReader reader)
 Load element from file reader. More...
 
void removeAllProperties ()
 Remove all properties. More...
 
void removeProperty (ElementClassProperty property)
 Remove property. More...
 
void setBasePath (String path)
 Set base path for relative loading of resource properties. More...
 
void setIsXmlElementClass (bool isXmlElementClass)
 Set if element class is an XML element class. More...
 
void setPersistable (bool persistable)
 Set element class is persistable to file writers. More...
 
void setPropertyValue (String name, Object value)
 Set value of named property. More...
 
Notification

Static Public Attributes

static final String idNonVRLeftHand = "vrHandLeft"
 Behavior ID used for non-VR based behaviors for left hand controller behaviors. More...
 
static final String idNonVRRightHand = "vrHandRight"
 Behavior ID used for non-VR based behaviors for right hand controller behaviors. More...
 
static final String idVRLeftHand = "left"
 Behavior ID used for left hand controller behaviors. More...
 
static final String idVRRightHand = "right"
 Behavior ID used for right hand controller behaviors. More...
 

Protected Member Functions

Element createElement ()
 Create element instance. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from Dragengine.Scenery.ElementClass
static CodecPropertyString getSharedCodecPropertyString ()
 Shared property codec helper. More...
 
static TSTriggerExpressionParser getSharedTriggerExpressionParser ()
 Shared trigger expression parser. More...
 
static void setSharedCodecPropertyString (CodecPropertyString codec)
 Set shared property codec helper. More...
 
static void setSharedTriggerExpressionParser (TSTriggerExpressionParser parser)
 Set shared trigger expression parser. More...
 
- Public Attributes inherited from Dragengine.Scenery.BaseActorClass
ECBehaviorActorAnimated pActorAnimated
 
ECBehaviorActorMover pActorMover
 
ECBehaviorActorAIAction pAIAction
 
ECBehaviorAlignActor pAlignActor
 
ECBehaviorAvoidCollision pAvoidCollision
 
ECBehaviorAvoidedByActor pAvoidedByActor
 
ECBehaviorCollider pCollider
 
ECBehaviorColliderAI pColliderAI
 
ECBehaviorComponent pComponent
 
ECBehaviorConversationActor pConversationActor
 
ECBCTRRBindings pCTRRBindings
 
ECBehaviorFootSteps pFootSteps
 
ECBehaviorLocomotion pLocomotion
 
ECBehaviorNavigator pNavigator
 
ECBehaviorParameterTable pParameterTable
 
ECBehaviorPlayerControllable pPlayerControllable
 
ECBehaviorPlayerInputCrouch pPlayerInputCrouch
 
ECBehaviorPlayerInputLook pPlayerInputLook
 
ECBehaviorPlayerInputMove pPlayerInputMove
 
ECBehaviorPlayerInputTurn pPlayerInputTurn
 
ECBehaviorProjectToGround pProjectToGround
 
ECBehaviorRideOn pRideOn
 
- Public Attributes inherited from Dragengine.Scenery.BehaviorElementClass
Array pBehaviors
 
Array pPrepareStubBehaviors
 
Array pPreventCreationBehaviors
 

Detailed Description

VR Actor element class.

Version
1.6

Extends BaseActorClass with VR behaviors.

Member Function Documentation

◆ createElement()

Element Dragengine.Scenery.BaseVRActorClass.createElement ( )
protected

Create element instance.

Reimplemented from Dragengine.Scenery.BaseActorClass.

◆ getVRHMD()

ECBehaviorVRHMD Dragengine.Scenery.BaseVRActorClass.getVRHMD ( )

VR HMD.

◆ getVRLeftHand()

ECBehaviorVRHand Dragengine.Scenery.BaseVRActorClass.getVRLeftHand ( )

VR Left Hand Controller.

◆ getVRLeftHandAction()

ECBehaviorVRHandAction Dragengine.Scenery.BaseVRActorClass.getVRLeftHandAction ( )

VR Left Hand Action.

Version
1.10

◆ getVRLeftHandAnimated()

ECBehaviorActorAnimated Dragengine.Scenery.BaseVRActorClass.getVRLeftHandAnimated ( )

VR Left Hand Animated.

Version
1.10

◆ getVRLeftHandAttachSlot()

ECBehaviorAttachSlot Dragengine.Scenery.BaseVRActorClass.getVRLeftHandAttachSlot ( )

VR Left Hand Controller Attach Slot.

Version
1.9

◆ getVRLeftHandGrabber()

ECBehaviorGrabber Dragengine.Scenery.BaseVRActorClass.getVRLeftHandGrabber ( )

VR Left Hand Controller Grabber.

Version
1.9

◆ getVRLeftHandLaserPointer()

ECBehaviorVRHandLaserPointer Dragengine.Scenery.BaseVRActorClass.getVRLeftHandLaserPointer ( )

VR Left Hand Controller Laser Pointer.

Version
1.7

◆ getVRLeftHandPointAt()

ECBehaviorVRHandPointAt Dragengine.Scenery.BaseVRActorClass.getVRLeftHandPointAt ( )

VR Left Hand Controller Point-At.

Version
1.7

◆ getVRLeftHandPose()

ECBehaviorVRHandPose Dragengine.Scenery.BaseVRActorClass.getVRLeftHandPose ( )

VR Left Hand Pose.

Version
1.10

◆ getVRPlayspace()

ECBehaviorVRPlayspace Dragengine.Scenery.BaseVRActorClass.getVRPlayspace ( )

VR Playspace behavior.

◆ getVRRightHand()

ECBehaviorVRHand Dragengine.Scenery.BaseVRActorClass.getVRRightHand ( )

VR Right Hand Controller.

◆ getVRRightHandAction()

ECBehaviorVRHandAction Dragengine.Scenery.BaseVRActorClass.getVRRightHandAction ( )

VR Right Hand Action.

Version
1.10

◆ getVRRightHandAnimated()

ECBehaviorActorAnimated Dragengine.Scenery.BaseVRActorClass.getVRRightHandAnimated ( )

VR Right Hand Animated.

Version
1.10

◆ getVRRightHandAttachSlot()

ECBehaviorAttachSlot Dragengine.Scenery.BaseVRActorClass.getVRRightHandAttachSlot ( )

VR Right Hand Controller Attach Slot.

Version
1.9

◆ getVRRightHandGrabber()

ECBehaviorGrabber Dragengine.Scenery.BaseVRActorClass.getVRRightHandGrabber ( )

VR Right Hand Controller Grabber.

Version
1.9

◆ getVRRightHandLaserPointer()

ECBehaviorVRHandLaserPointer Dragengine.Scenery.BaseVRActorClass.getVRRightHandLaserPointer ( )

VR Right Hand Controller Laser Pointer.

Version
1.7

◆ getVRRightHandPointAt()

ECBehaviorVRHandPointAt Dragengine.Scenery.BaseVRActorClass.getVRRightHandPointAt ( )

VR Right Hand Controller Point-At.

Version
1.7

◆ getVRRightHandPose()

ECBehaviorVRHandPose Dragengine.Scenery.BaseVRActorClass.getVRRightHandPose ( )

VR Right Hand Pose.

Version
1.10

◆ new() [1/4]

BaseVRActorClass Dragengine.Scenery.BaseVRActorClass.new ( )

Create element class using loaders from BaseGameApp.

Reimplemented from Dragengine.Scenery.BaseActorClass.

◆ new() [2/4]

BaseVRActorClass Dragengine.Scenery.BaseVRActorClass.new ( Loaders  loaders,
ECBehaviorPlayerControllable.Tracker  tracker 
)

Create element class.

Reimplemented from Dragengine.Scenery.BaseActorClass.

◆ new() [3/4]

BaseVRActorClass Dragengine.Scenery.BaseVRActorClass.new ( String  className)

Create element class using loaders from BaseGameApp.

Reimplemented from Dragengine.Scenery.BaseActorClass.

◆ new() [4/4]

BaseVRActorClass Dragengine.Scenery.BaseVRActorClass.new ( String  className,
Loaders  loaders,
ECBehaviorPlayerControllable.Tracker  tracker 
)

Create element class.

Reimplemented from Dragengine.Scenery.BaseActorClass.

Member Data Documentation

◆ idNonVRLeftHand

final String Dragengine.Scenery.BaseVRActorClass.idNonVRLeftHand = "vrHandLeft"
static

Behavior ID used for non-VR based behaviors for left hand controller behaviors.

Version
1.9

Used for behaviors:

Value is "vrHandLeft".

◆ idNonVRRightHand

final String Dragengine.Scenery.BaseVRActorClass.idNonVRRightHand = "vrHandRight"
static

Behavior ID used for non-VR based behaviors for right hand controller behaviors.

Version
1.9

Used for behaviors:

Value is "vrHandRight".

◆ idVRLeftHand

final String Dragengine.Scenery.BaseVRActorClass.idVRLeftHand = "left"
static

Behavior ID used for left hand controller behaviors.

Version
1.9

Used for behaviors:

Value is "left".

◆ idVRRightHand

final String Dragengine.Scenery.BaseVRActorClass.idVRRightHand = "right"
static

Behavior ID used for right hand controller behaviors.

Version
1.9

Used for behaviors:

Value is "right".


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