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

Behavior instance. More...

Inheritance diagram for Dragengine.Scenery.ECBehaviorVRHandLaserPointer.Instance:
Dragengine.Scenery.DefaultECBehaviorInstance Dragengine.Scenery.ECBehaviorInstance

Classes

class  ListenPointAt
 VR Hand Point At listener. More...
 
class  StopAtObstacleListener
 Stop particle at obstacle listener. More...
 

Public Member Functions

void dispose ()
 Dispose of instance. More...
 
Color getColor ()
 
ParticleEmitterController getControllerBlue ()
 Blue color controller or null if not found. More...
 
ParticleEmitterController getControllerGreen ()
 Green color controller or null if not found. More...
 
ParticleEmitterController getControllerIntensity ()
 Intensity controller or null if not found. More...
 
ParticleEmitterController getControllerLength ()
 Length controller or null if not found. More...
 
ParticleEmitterController getControllerRed ()
 Red color controller or null if not found. More...
 
ECBehaviorVRHandLaserPointer getECBehavior ()
 Behavior. More...
 
float getIntensity ()
 
float getLength ()
 
ECBehaviorParticleEmitter.Instance getParticleEmitter ()
 Component behavior instance. More...
 
ECBehaviorVRHandPointAt.Instance getVRHandPointAt ()
 VR Hand Point At behavior instance. More...
 
void init (StubElement stub)
 Initialize behavior from stub. More...
 
Instance new (ECBehaviorVRHandLaserPointer ecbehavior, BehaviorElement element)
 Create instance. More...
 
void readFromFile (PersistencyEnvironment env, FileReader reader)
 Read behavior from file. More...
 
void setColor (Color color)
 
void setIntensity (float intensity)
 
void setLength (float length)
 
void stateChanged ()
 
void updateParameters ()
 Update casting parameters from point at parameters. More...
 
void updateVisibile ()
 Update component visible. More...
 
void writeToFile (PersistencyEnvironment env, FileWriter writer)
 Write behavior to file. More...
 
- Public Member Functions inherited from Dragengine.Scenery.DefaultECBehaviorInstance
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 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...
 
DefaultECBehaviorInstance new (BehaviorElement element)
 Create default composeable instance. More...
 
void postThink (float elapsed)
 Post thinking after physics processing is finished. 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 think (float elapsed)
 Think about what to do for the next frame update. More...
 

Additional Inherited Members

- Protected Member Functions inherited from Dragengine.Scenery.DefaultECBehaviorInstance
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

Behavior instance.

Member Function Documentation

◆ dispose()

void Dragengine.Scenery.ECBehaviorVRHandLaserPointer.Instance.dispose ( )

Dispose of instance.

Reimplemented from Dragengine.Scenery.DefaultECBehaviorInstance.

◆ getColor()

Color Dragengine.Scenery.ECBehaviorVRHandLaserPointer.Instance.getColor ( )

Color of beam.

◆ getControllerBlue()

ParticleEmitterController Dragengine.Scenery.ECBehaviorVRHandLaserPointer.Instance.getControllerBlue ( )

Blue color controller or null if not found.

◆ getControllerGreen()

ParticleEmitterController Dragengine.Scenery.ECBehaviorVRHandLaserPointer.Instance.getControllerGreen ( )

Green color controller or null if not found.

◆ getControllerIntensity()

ParticleEmitterController Dragengine.Scenery.ECBehaviorVRHandLaserPointer.Instance.getControllerIntensity ( )

Intensity controller or null if not found.

◆ getControllerLength()

ParticleEmitterController Dragengine.Scenery.ECBehaviorVRHandLaserPointer.Instance.getControllerLength ( )

Length controller or null if not found.

◆ getControllerRed()

ParticleEmitterController Dragengine.Scenery.ECBehaviorVRHandLaserPointer.Instance.getControllerRed ( )

Red color controller or null if not found.

◆ getECBehavior()

ECBehaviorVRHandLaserPointer Dragengine.Scenery.ECBehaviorVRHandLaserPointer.Instance.getECBehavior ( )

Behavior.

◆ getIntensity()

float Dragengine.Scenery.ECBehaviorVRHandLaserPointer.Instance.getIntensity ( )

Intensity of beam.

◆ getLength()

float Dragengine.Scenery.ECBehaviorVRHandLaserPointer.Instance.getLength ( )

Length of beam in meters.

◆ getParticleEmitter()

ECBehaviorParticleEmitter.Instance Dragengine.Scenery.ECBehaviorVRHandLaserPointer.Instance.getParticleEmitter ( )

Component behavior instance.

◆ getVRHandPointAt()

ECBehaviorVRHandPointAt.Instance Dragengine.Scenery.ECBehaviorVRHandLaserPointer.Instance.getVRHandPointAt ( )

VR Hand Point At behavior instance.

◆ init()

void Dragengine.Scenery.ECBehaviorVRHandLaserPointer.Instance.init ( StubElement  stub)

Initialize behavior from stub.

Reimplemented from Dragengine.Scenery.DefaultECBehaviorInstance.

◆ new()

Instance Dragengine.Scenery.ECBehaviorVRHandLaserPointer.Instance.new ( ECBehaviorVRHandLaserPointer  ecbehavior,
BehaviorElement  element 
)

Create instance.

◆ readFromFile()

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

Read behavior from file.

Reimplemented from Dragengine.Scenery.DefaultECBehaviorInstance.

◆ setColor()

void Dragengine.Scenery.ECBehaviorVRHandLaserPointer.Instance.setColor ( Color  color)

Set color of beam.

◆ setIntensity()

void Dragengine.Scenery.ECBehaviorVRHandLaserPointer.Instance.setIntensity ( float  intensity)

Set intensity of beam.

◆ setLength()

void Dragengine.Scenery.ECBehaviorVRHandLaserPointer.Instance.setLength ( float  length)

Set length of beam in meters.

◆ stateChanged()

void Dragengine.Scenery.ECBehaviorVRHandLaserPointer.Instance.stateChanged ( )

State like visiblity changed.

Reimplemented from Dragengine.Scenery.DefaultECBehaviorInstance.

◆ updateParameters()

void Dragengine.Scenery.ECBehaviorVRHandLaserPointer.Instance.updateParameters ( )

Update casting parameters from point at parameters.

Reattaches the particle emitter instance to line up with the point at test direction.

◆ updateVisibile()

void Dragengine.Scenery.ECBehaviorVRHandLaserPointer.Instance.updateVisibile ( )

Update component visible.

◆ writeToFile()

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

Write behavior to file.

Reimplemented from Dragengine.Scenery.DefaultECBehaviorInstance.


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