| 10 | { |
| 11 | |
| 12 | class ScriptCameraView |
| 13 | { |
| 14 | private: |
| 15 | camera::ICameraView& _cameraView; |
| 16 | |
| 17 | public: |
| 18 | ScriptCameraView(camera::ICameraView& cameraView); |
| 19 | |
| 20 | const Vector3& getCameraOrigin() const; |
| 21 | void setCameraOrigin(const Vector3& newOrigin); |
| 22 | |
| 23 | const Vector3& getCameraAngles() const; |
| 24 | void setCameraAngles(const Vector3& newAngles); |
| 25 | |
| 26 | void setOriginAndAngles(const Vector3& newOrigin, const Vector3& newAngles); |
| 27 | |
| 28 | const Vector3& getRightVector() const; |
| 29 | const Vector3& getUpVector() const; |
| 30 | const Vector3& getForwardVector() const; |
| 31 | |
| 32 | float getFarClipPlaneDistance() const; |
| 33 | void setFarClipPlaneDistance(float distance); |
| 34 | |
| 35 | void refresh(); |
| 36 | }; |
| 37 | |
| 38 | class CameraInterface : |
| 39 | public IScriptInterface |