Drag[en]gine Script Module DragonScript
1.23
|
Behavior instance. More...
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... | |
Behavior instance.
void Dragengine.Scenery.ECBehaviorVRHandLaserPointer.Instance.dispose | ( | ) |
Dispose of instance.
Reimplemented from Dragengine.Scenery.DefaultECBehaviorInstance.
Color Dragengine.Scenery.ECBehaviorVRHandLaserPointer.Instance.getColor | ( | ) |
Color of beam.
ParticleEmitterController Dragengine.Scenery.ECBehaviorVRHandLaserPointer.Instance.getControllerBlue | ( | ) |
Blue color controller or null if not found.
ParticleEmitterController Dragengine.Scenery.ECBehaviorVRHandLaserPointer.Instance.getControllerGreen | ( | ) |
Green color controller or null if not found.
ParticleEmitterController Dragengine.Scenery.ECBehaviorVRHandLaserPointer.Instance.getControllerIntensity | ( | ) |
Intensity controller or null if not found.
ParticleEmitterController Dragengine.Scenery.ECBehaviorVRHandLaserPointer.Instance.getControllerLength | ( | ) |
Length controller or null if not found.
ParticleEmitterController Dragengine.Scenery.ECBehaviorVRHandLaserPointer.Instance.getControllerRed | ( | ) |
Red color controller or null if not found.
ECBehaviorVRHandLaserPointer Dragengine.Scenery.ECBehaviorVRHandLaserPointer.Instance.getECBehavior | ( | ) |
Behavior.
float Dragengine.Scenery.ECBehaviorVRHandLaserPointer.Instance.getIntensity | ( | ) |
Intensity of beam.
float Dragengine.Scenery.ECBehaviorVRHandLaserPointer.Instance.getLength | ( | ) |
Length of beam in meters.
ECBehaviorParticleEmitter.Instance Dragengine.Scenery.ECBehaviorVRHandLaserPointer.Instance.getParticleEmitter | ( | ) |
Component behavior instance.
ECBehaviorVRHandPointAt.Instance Dragengine.Scenery.ECBehaviorVRHandLaserPointer.Instance.getVRHandPointAt | ( | ) |
VR Hand Point At behavior instance.
void Dragengine.Scenery.ECBehaviorVRHandLaserPointer.Instance.init | ( | StubElement | stub | ) |
Initialize behavior from stub.
Reimplemented from Dragengine.Scenery.DefaultECBehaviorInstance.
Instance Dragengine.Scenery.ECBehaviorVRHandLaserPointer.Instance.new | ( | ECBehaviorVRHandLaserPointer | ecbehavior, |
BehaviorElement | element | ||
) |
Create instance.
void Dragengine.Scenery.ECBehaviorVRHandLaserPointer.Instance.readFromFile | ( | PersistencyEnvironment | env, |
FileReader | reader | ||
) |
Read behavior from file.
Reimplemented from Dragengine.Scenery.DefaultECBehaviorInstance.
void Dragengine.Scenery.ECBehaviorVRHandLaserPointer.Instance.setColor | ( | Color | color | ) |
Set color of beam.
void Dragengine.Scenery.ECBehaviorVRHandLaserPointer.Instance.setIntensity | ( | float | intensity | ) |
Set intensity of beam.
void Dragengine.Scenery.ECBehaviorVRHandLaserPointer.Instance.setLength | ( | float | length | ) |
Set length of beam in meters.
void Dragengine.Scenery.ECBehaviorVRHandLaserPointer.Instance.stateChanged | ( | ) |
State like visiblity changed.
Reimplemented from Dragengine.Scenery.DefaultECBehaviorInstance.
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.
void Dragengine.Scenery.ECBehaviorVRHandLaserPointer.Instance.updateVisibile | ( | ) |
Update component visible.
void Dragengine.Scenery.ECBehaviorVRHandLaserPointer.Instance.writeToFile | ( | PersistencyEnvironment | env, |
FileWriter | writer | ||
) |
Write behavior to file.
Reimplemented from Dragengine.Scenery.DefaultECBehaviorInstance.