Drag[en]gine Script Module DragonScript
1.23
|
Place camera relative an element with orbit support. More...
Public Member Functions | |
float | getAzimuth () |
Vertical rotation. More... | |
DMatrix | getCameraMatrix () |
Camera matrix. More... | |
float | getDistance () |
Distance. More... | |
Element | getElement () |
Element. More... | |
float | getElevation () |
Horizontal rotation. More... | |
DMatrix | getLocalMatrix () |
Local matrix. More... | |
DVector | getPivot () |
Rotation point. More... | |
bool | getUseOrientation () |
Use element orientation. More... | |
ElementCameraDirector | new (Element element) |
Create camera director. More... | |
ElementCameraDirector | new (Element element, Camera camera, Microphone microphone) |
Create camera director. More... | |
void | setAzimuth (float azimuth) |
Set vertical rotation. More... | |
void | setDistance (float distance) |
Set distance. More... | |
void | setElement (Element element) |
Set element. More... | |
void | setElevation (float elevation) |
Set horizontal rotation. More... | |
void | setLocalMatrix (DMatrix localMatrix) |
Set local matrix. More... | |
void | setLocalMatrix (Vector position, Vector rotation) |
Set local matrix from position and rotation. More... | |
void | setPivot (DVector pivot) |
Set rotation point. More... | |
void | setUseOrientation (bool useOrientation) |
Set use element orientation. More... | |
void | updateCamera (float elapsed) |
Update camera. More... | |
Public Member Functions inherited from Dragengine.CameraDirectors.CameraDirector | |
void | activate () |
Director has been activated. More... | |
void | applyParameters (Camera camera) |
Apply parameters to camera. More... | |
void | applyParameters (Microphone microphone) |
Apply parameters to microphone. More... | |
void | copyParameters (Camera camera) |
Copy parameters from camera. More... | |
void | copyParameters (CameraDirector director) |
Copy parameters from camera director. More... | |
void | copyParameters (Microphone microphone) |
Copy parameters from microphone. More... | |
void | deactivate () |
Director has been deactivated. More... | |
float | getAdaptionTime () |
Adaption time. More... | |
float | getBloomBlend () |
Bloom blend as multiplier of intensity beyond bloom intensity. More... | |
float | getBloomIntensity () |
Bloom intensity multiplier. More... | |
float | getBloomSize () |
Bloom size as percentage of screen width. More... | |
float | getBloomStrength () |
Bloom strength as multiplier of intensity beyond bloom intensity. More... | |
Camera | getCamera () |
Camera to modify. More... | |
bool | getEnableAuralization () |
Enable auralization if supported. More... | |
bool | getEnableGI () |
Enable global illumination (GI) if supported. More... | |
bool | getEnableHDRR () |
Enable high definition range rendering (HDRR) if supported. More... | |
float | getExposure () |
Exposure. More... | |
float | getFov () |
Field of view. More... | |
float | getFovRatio () |
Field of view ratio (height / width). More... | |
float | getHighestIntensity () |
Highest intensity. More... | |
float | getImageDistance () |
Camera image distance. More... | |
LayerMask | getLayerMask () |
Layer mask. More... | |
float | getLowestIntensity () |
Lowest intensity. More... | |
Microphone | getMicrophone () |
Microphone to modify. More... | |
CurveBezier | getToneMapCurve () |
Custom tone mapping curve or empty curve to disable. More... | |
float | getViewDistance () |
Camera view distance. More... | |
float | getWhiteIntensity () |
White intensity multiplier. More... | |
void | initCameraParameters () |
Init camera parameters. More... | |
void | initMicrophoneParameters () |
Init microphone parameters. More... | |
CameraDirector | new () |
Create camera director. More... | |
CameraDirector | new (Camera camera, Microphone microphone) |
Create camera director. More... | |
void | resetCameraAdaptedIntensity () |
Request graphic module to reset camera adapted intensity to optimal value. More... | |
void | setAdaptionTime (float time) |
Set adaption time. More... | |
void | setBloomBlend (float blend) |
Set bloom blend as multiplier of intensity beyond bloom intensity. More... | |
void | setBloomIntensity (float intensity) |
Set bloom intensity multiplier. More... | |
void | setBloomSize (float size) |
Bloom size as percentage of screen width. More... | |
void | setBloomStrength (float strength) |
Set bloom strength as multiplier of intensity beyond bloom intensity. More... | |
void | setCamera (Camera camera) |
Set camera to modify. More... | |
void | setEnableAuralization (bool enable) |
Set to enable auralization if supported. More... | |
void | setEnableGI (bool enable) |
Set to enable global illumination (GI) if supported. More... | |
void | setEnableHDRR (bool enable) |
Set to enable high definition range rendering (HDRR) if supported. More... | |
void | setExposure (float exposure) |
Set exposure. More... | |
void | setFov (float fov) |
Set field of view. More... | |
void | setFovRatio (float ratio) |
Set field of view ratio (height / width). More... | |
void | setHighestIntensity (float intensity) |
Set highest intensity. More... | |
void | setImageDistance (float distance) |
Set camera image distance. More... | |
void | setLayerMask (LayerMask layerMask) |
Set layer mask. More... | |
void | setLowestIntensity (float intensity) |
Set lowest intensity. More... | |
void | setMicrophone (Microphone microphone) |
Set microphone to modify. More... | |
void | setToneMapCurve (CurveBezier curve) |
Set custom tone mapping curve or empty curve to disable. More... | |
void | setViewDistance (float distance) |
Set camera view distance. More... | |
void | setWhiteIntensity (float intensity) |
Set white intensity multiplier. More... | |
void | update (float elapsed) |
Update director. More... | |
void | updateMicrophone (float elapsed) |
Update microphone. More... | |
Place camera relative an element with orbit support.
Camera is placed using a rotation point, oribtal rotation and a matrix local to this rotation point.
float Dragengine.CameraDirectors.ElementCameraDirector.getAzimuth | ( | ) |
Vertical rotation.
DMatrix Dragengine.CameraDirectors.ElementCameraDirector.getCameraMatrix | ( | ) |
Camera matrix.
Reimplemented in Dragengine.CameraDirectors.VRPlayerControlledActorCameraDirector.
float Dragengine.CameraDirectors.ElementCameraDirector.getDistance | ( | ) |
Distance.
Element Dragengine.CameraDirectors.ElementCameraDirector.getElement | ( | ) |
Element.
float Dragengine.CameraDirectors.ElementCameraDirector.getElevation | ( | ) |
Horizontal rotation.
DMatrix Dragengine.CameraDirectors.ElementCameraDirector.getLocalMatrix | ( | ) |
Local matrix.
DVector Dragengine.CameraDirectors.ElementCameraDirector.getPivot | ( | ) |
Rotation point.
bool Dragengine.CameraDirectors.ElementCameraDirector.getUseOrientation | ( | ) |
Use element orientation.
If true the camera rotates together with the element. If false the camera only moves together with the element. The default is false.
ElementCameraDirector Dragengine.CameraDirectors.ElementCameraDirector.new | ( | Element | element | ) |
Create camera director.
ElementCameraDirector Dragengine.CameraDirectors.ElementCameraDirector.new | ( | Element | element, |
Camera | camera, | ||
Microphone | microphone | ||
) |
Create camera director.
void Dragengine.CameraDirectors.ElementCameraDirector.setAzimuth | ( | float | azimuth | ) |
Set vertical rotation.
void Dragengine.CameraDirectors.ElementCameraDirector.setDistance | ( | float | distance | ) |
Set distance.
void Dragengine.CameraDirectors.ElementCameraDirector.setElement | ( | Element | element | ) |
Set element.
void Dragengine.CameraDirectors.ElementCameraDirector.setElevation | ( | float | elevation | ) |
Set horizontal rotation.
void Dragengine.CameraDirectors.ElementCameraDirector.setLocalMatrix | ( | DMatrix | localMatrix | ) |
Set local matrix.
void Dragengine.CameraDirectors.ElementCameraDirector.setLocalMatrix | ( | Vector | position, |
Vector | rotation | ||
) |
Set local matrix from position and rotation.
void Dragengine.CameraDirectors.ElementCameraDirector.setPivot | ( | DVector | pivot | ) |
Set rotation point.
void Dragengine.CameraDirectors.ElementCameraDirector.setUseOrientation | ( | bool | useOrientation | ) |
Set use element orientation.
If true the camera rotates together with the element. If false the camera only moves together with the element. The default is false.
void Dragengine.CameraDirectors.ElementCameraDirector.updateCamera | ( | float | elapsed | ) |
Update camera.
Reimplemented from Dragengine.CameraDirectors.CameraDirector.
Reimplemented in Dragengine.CameraDirectors.VRPlayerControlledActorCameraDirector, and Dragengine.CameraDirectors.PlayerControlledActorCameraDirector.
float Dragengine.CameraDirectors.ElementCameraDirector.pAzimuth |
float Dragengine.CameraDirectors.ElementCameraDirector.pDistance |
Element Dragengine.CameraDirectors.ElementCameraDirector.pElement |
float Dragengine.CameraDirectors.ElementCameraDirector.pElevation |
DMatrix Dragengine.CameraDirectors.ElementCameraDirector.pLocalMatrix |
DVector Dragengine.CameraDirectors.ElementCameraDirector.pPivot |
bool Dragengine.CameraDirectors.ElementCameraDirector.pUseOrientation |