|
Drag[en]gine Script Module DragonScript 1.32.1
|
Place camera relative an element with orbit support. More...
Public Member Functions | |
| float | getAzimuth () |
| Vertical rotation. | |
| DMatrix | getCameraMatrix () |
| Camera matrix. | |
| float | getDistance () |
| Distance. | |
| Element | getElement () |
| Element. | |
| float | getElevation () |
| Horizontal rotation. | |
| DMatrix | getLocalMatrix () |
| Local matrix. | |
| DVector | getPivot () |
| Rotation point. | |
| bool | getUseOrientation () |
| Use element orientation. | |
| ElementCameraDirector | new (Element element) |
| Create camera director. | |
| ElementCameraDirector | new (Element element, Camera camera, Microphone microphone) |
| Create camera director. | |
| void | setAzimuth (float azimuth) |
| Set vertical rotation. | |
| void | setDistance (float distance) |
| Set distance. | |
| void | setElement (Element element) |
| Set element. | |
| void | setElevation (float elevation) |
| Set horizontal rotation. | |
| void | setLocalMatrix (DMatrix localMatrix) |
| Set local matrix. | |
| void | setLocalMatrix (Vector position, Vector rotation) |
| Set local matrix from position and rotation. | |
| void | setPivot (DVector pivot) |
| Set rotation point. | |
| void | setUseOrientation (bool useOrientation) |
| Set use element orientation. | |
| void | updateCamera (float elapsed) |
| Update camera. | |
Public Member Functions inherited from Dragengine.CameraDirectors.CameraDirector | |
| void | activate () |
| Director has been activated. | |
| void | applyParameters (Camera camera) |
| Apply parameters to camera. | |
| void | applyParameters (Microphone microphone) |
| Apply parameters to microphone. | |
| void | copyParameters (Camera camera) |
| Copy parameters from camera. | |
| void | copyParameters (CameraDirector director) |
| Copy parameters from camera director. | |
| void | copyParameters (Microphone microphone) |
| Copy parameters from microphone. | |
| void | deactivate () |
| Director has been deactivated. | |
| float | getAdaptionTime () |
| Adaption time. | |
| float | getBloomBlend () |
| Bloom blend as multiplier of intensity beyond bloom intensity. | |
| float | getBloomIntensity () |
| Bloom intensity multiplier. | |
| float | getBloomSize () |
| Bloom size as percentage of screen width. | |
| float | getBloomStrength () |
| Bloom strength as multiplier of intensity beyond bloom intensity. | |
| Camera | getCamera () |
| Camera to modify. | |
| bool | getEnableAuralization () |
| Enable auralization if supported. | |
| bool | getEnableGI () |
| Enable global illumination (GI) if supported. | |
| bool | getEnableHDRR () |
| Enable high definition range rendering (HDRR) if supported. | |
| float | getExposure () |
| Exposure. | |
| float | getFov () |
| Field of view. | |
| float | getFovRatio () |
| Field of view ratio (height / width). | |
| float | getHighestIntensity () |
| Highest intensity. | |
| float | getImageDistance () |
| Camera image distance. | |
| LayerMask | getLayerMask () |
| Layer mask or null if not set. | |
| float | getLowestIntensity () |
| Lowest intensity. | |
| Microphone | getMicrophone () |
| Microphone to modify. | |
| CurveBezier | getToneMapCurve () |
| Custom tone mapping curve or empty curve to disable. | |
| float | getViewDistance () |
| Camera view distance. | |
| float | getWhiteIntensity () |
| White intensity multiplier. | |
| void | initCameraParameters () |
| Init camera parameters. | |
| void | initMicrophoneParameters () |
| Init microphone parameters. | |
| CameraDirector | new () |
| Create camera director. | |
| CameraDirector | new (Camera camera, Microphone microphone) |
| Create camera director. | |
| void | resetCameraAdaptedIntensity () |
| Request graphic module to reset camera adapted intensity to optimal value. | |
| void | setAdaptionTime (float time) |
| Set adaption time. | |
| void | setBloomBlend (float blend) |
| Set bloom blend as multiplier of intensity beyond bloom intensity. | |
| void | setBloomIntensity (float intensity) |
| Set bloom intensity multiplier. | |
| void | setBloomSize (float size) |
| Bloom size as percentage of screen width. | |
| void | setBloomStrength (float strength) |
| Set bloom strength as multiplier of intensity beyond bloom intensity. | |
| void | setCamera (Camera camera) |
| Set camera to modify. | |
| void | setEnableAuralization (bool enable) |
| Set to enable auralization if supported. | |
| void | setEnableGI (bool enable) |
| Set to enable global illumination (GI) if supported. | |
| void | setEnableHDRR (bool enable) |
| Set to enable high definition range rendering (HDRR) if supported. | |
| void | setExposure (float exposure) |
| Set exposure. | |
| void | setFov (float fov) |
| Set field of view. | |
| void | setFovRatio (float ratio) |
| Set field of view ratio (height / width). | |
| void | setHighestIntensity (float intensity) |
| Set highest intensity. | |
| void | setImageDistance (float distance) |
| Set camera image distance. | |
| void | setLayerMask (LayerMask layerMask) |
| Set layer mask or null if not set. | |
| void | setLowestIntensity (float intensity) |
| Set lowest intensity. | |
| void | setMicrophone (Microphone microphone) |
| Set microphone to modify. | |
| void | setToneMapCurve (CurveBezier curve) |
| Set custom tone mapping curve or empty curve to disable. | |
| void | setViewDistance (float distance) |
| Set camera view distance. | |
| void | setWhiteIntensity (float intensity) |
| Set white intensity multiplier. | |
| void | update (float elapsed) |
| Update director. | |
| void | updateMicrophone (float elapsed) |
| Update microphone. | |
Public Attributes | |
| float | pAzimuth |
| float | pDistance |
| Element | pElement |
| float | pElevation |
| DMatrix | pLocalMatrix |
| DVector | pPivot |
| bool | pUseOrientation |
Public Attributes inherited from Dragengine.CameraDirectors.CameraDirector | |
| final float | fovFirstPerson = 90 |
| Typical first person FOV. | |
| final float | fovLongTele = 6.87 |
| Long tele camera FOV. | |
| final float | fovMediumTele = 10.29 |
| Medium tele camera FOV. | |
| final float | fovNormal = 39.6 |
| Normal camera FOV. | |
| final float | fovShortFirstPerson = 75 |
| Shorter first person FOV. | |
| final float | fovShortTele = 22.62 |
| Short tele camera FOV. | |
| final float | fovUltraWide = 83.97 |
| Ultra wide camera FOV. | |
| final float | fovWide = 65.47 |
| Wide camera FOV. | |
| float | pAdaptionTime |
| float | pBloomBlend |
| float | pBloomIntensity |
| float | pBloomSize |
| float | pBloomStrength |
| Camera | pCamera |
| bool | pEnableAuralization |
| bool | pEnableGI |
| bool | pEnableHDRR |
| float | pExposure |
| float | pFov |
| float | pFovRatio |
| float | pHighestIntensity |
| float | pImageDistance |
| LayerMask | pLayerMask |
| float | pLowestIntensity |
| Microphone | pMicrophone |
| CurveBezier | pToneMapCurve |
| float | pViewDistance |
| float | pWhiteIntensity |
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.PlayerControlledActorCameraDirector, and Dragengine.CameraDirectors.VRPlayerControlledActorCameraDirector.
| 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 |