MCPcopy Create free account
hub / github.com/codereader/DarkRadiant / ScriptCameraView

Class ScriptCameraView

plugins/script/interfaces/CameraInterface.h:12–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10{
11
12class ScriptCameraView
13{
14private:
15 camera::ICameraView& _cameraView;
16
17public:
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
38class CameraInterface :
39 public IScriptInterface

Callers 1

getActiveViewMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected