|
Drag[en]gine Script Module DragonScript 1.32.1
|
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. | |
| Color | getColor () |
| ParticleEmitterController | getControllerBlue () |
| Blue color controller or null if not found. | |
| ParticleEmitterController | getControllerGreen () |
| Green color controller or null if not found. | |
| ParticleEmitterController | getControllerIntensity () |
| Intensity controller or null if not found. | |
| ParticleEmitterController | getControllerLength () |
| Length controller or null if not found. | |
| ParticleEmitterController | getControllerRed () |
| Red color controller or null if not found. | |
| ECBehaviorVRHandLaserPointer | getECBehavior () |
| Behavior. | |
| float | getIntensity () |
| float | getLength () |
| ECBehaviorParticleEmitter.Instance | getParticleEmitter () |
| Component behavior instance. | |
| ECBehaviorVRHandPointAt.Instance | getVRHandPointAt () |
| VR Hand Point At behavior instance. | |
| void | init (StubElement stub) |
| Initialize behavior from stub. | |
| Instance | new (ECBehaviorVRHandLaserPointer ecbehavior, BehaviorElement element) |
| Create instance. | |
| void | readFromFile (PersistencyEnvironment env, FileReader reader) |
| Read behavior from file. | |
| void | setColor (Color color) |
| void | setIntensity (float intensity) |
| void | setLength (float length) |
| void | stateChanged () |
| void | updateParameters () |
| Update casting parameters from point at parameters. | |
| void | updateVisibile () |
| Update component visible. | |
| void | writeToFile (PersistencyEnvironment env, FileWriter writer) |
| Write behavior to file. | |
Public Member Functions inherited from Dragengine.Scenery.DefaultECBehaviorInstance | |
| void | addToGameWorld () |
| Add element to game world. | |
| void | attachToParent (Element parent) |
| Attach element to object set by the mapper in the IGDE World Editor. | |
| void | enterFrame () |
| Frame update started. | |
| void | geometryChanged () |
| Position or orientation changed. | |
| BehaviorElement | getElement () |
| Behavior element to apply behavior to. | |
| int | getInstanceIndex () |
| Behavior instance index. | |
| DefaultECBehaviorInstance | new (BehaviorElement element) |
| Create default composeable instance. | |
| void | postThink (float elapsed) |
| Post thinking after physics processing is finished. | |
| void | removeFromGameWorld () |
| Remove element from game world. | |
| bool | requiresEnterFrame () |
| Behavior instance requires enterFrame() to be called. | |
| bool | requiresThink () |
| Behavior instance requires think() to be called. | |
| void | think (float elapsed) |
| Think about what to do for the next frame update. | |
Public Attributes | |
| Color | pColor |
| ParticleEmitterController | pControllerBlue |
| ParticleEmitterController | pControllerGreen |
| ParticleEmitterController | pControllerIntensity |
| ParticleEmitterController | pControllerLength |
| ParticleEmitterController | pControllerRed |
| ECBehaviorVRHandLaserPointer | pECBehavior |
| float | pIntensity |
| float | pLength |
| ECBehaviorParticleEmitter.Instance | pParticleEmitter |
| ECBehaviorVRHandPointAt.Instance | pVRHandPointAt |
Public Attributes inherited from Dragengine.Scenery.DefaultECBehaviorInstance | |
| BehaviorElement | pElement |
| int | pInstanceIndex |
| bool | pRequiresEnterFrame |
| bool | pRequiresThink |
Additional Inherited Members | |
Protected Member Functions inherited from Dragengine.Scenery.DefaultECBehaviorInstance | |
| void | setRequiresEnterFrame (bool required) |
| Set if behavior instance requires enterFrame() to be called. | |
| void | setRequiresThink (bool required) |
| Set if behavior instance requires think() to be called. | |
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.
| Color Dragengine.Scenery.ECBehaviorVRHandLaserPointer.Instance.pColor |
| ParticleEmitterController Dragengine.Scenery.ECBehaviorVRHandLaserPointer.Instance.pControllerBlue |
| ParticleEmitterController Dragengine.Scenery.ECBehaviorVRHandLaserPointer.Instance.pControllerGreen |
| ParticleEmitterController Dragengine.Scenery.ECBehaviorVRHandLaserPointer.Instance.pControllerIntensity |
| ParticleEmitterController Dragengine.Scenery.ECBehaviorVRHandLaserPointer.Instance.pControllerLength |
| ParticleEmitterController Dragengine.Scenery.ECBehaviorVRHandLaserPointer.Instance.pControllerRed |
| ECBehaviorVRHandLaserPointer Dragengine.Scenery.ECBehaviorVRHandLaserPointer.Instance.pECBehavior |
| float Dragengine.Scenery.ECBehaviorVRHandLaserPointer.Instance.pIntensity |
| float Dragengine.Scenery.ECBehaviorVRHandLaserPointer.Instance.pLength |
| ECBehaviorParticleEmitter.Instance Dragengine.Scenery.ECBehaviorVRHandLaserPointer.Instance.pParticleEmitter |
| ECBehaviorVRHandPointAt.Instance Dragengine.Scenery.ECBehaviorVRHandLaserPointer.Instance.pVRHandPointAt |