Camera component.
More...
|
| Camera () |
| Initializes a new instance of the Camera class. More...
|
|
| Camera (Vector3 position, Vector3 target, float fov, float width, float height, float aspect, float nearClipPlane, float farClipPlane) |
| Initializes a new instance of the Camera class. More...
|
|
| Camera (Vector3 position, float yaw, float pitch, float roll, float fov, float width, float height, float aspect, float nearClipPlane, float farClipPlane) |
| Initializes a new instance of the Camera class. More...
|
|
override string | ToString () |
|
|
static Matrix | YawPitchRoll (Vector3 position, Matrix matrix, float yaw, float pitch, float roll) |
|
|
float | Width [get, set] |
| Gets the width of the camera. More...
|
|
float | Height [get, set] |
| Gets the height of the camera. More...
|
|
float | NearClipPlane [get, set] |
| Gets or sets the near clip plane. More...
|
|
float | FarClipPlane [get, set] |
| Gets or sets the far clip plane. More...
|
|
float | FieldOfView [get, set] |
| Gets or sets the vertical field of view. More...
|
|
float | Aspect [get, set] |
| Gets or sets the aspect. More...
|
|
float | OrthographicSize [get, set] |
| Gets or sets the camera half vertical size in orthographic mode. More...
|
|
bool | IsOrthographic [get, set] |
| Gets or sets a value indicating whether this instance is orthographic. More...
|
|
CameraMode | Mode [get, set] |
| Gets or sets the mode of this camera. More...
|
|
Matrix | WorldToCamera [get, set] |
| Gets or sets the world to camera matrix. More...
|
|
Matrix | Projection [get, set] |
| Gets or sets the projection matrix. More...
|
|
Vector3 | Position [get, set] |
| Gets or sets the position. More...
|
|
Vector3 | Target [get, set] |
| Gets or sets the target. More...
|
|
Camera component.
Definition at line 21 of file Camera.cs.
ScriptTest2.Camera.Camera |
( |
| ) |
|
Initializes a new instance of the Camera class.
Definition at line 38 of file Camera.cs.
ScriptTest2.Camera.Camera |
( |
Vector3 |
position, |
|
|
Vector3 |
target, |
|
|
float |
fov, |
|
|
float |
width, |
|
|
float |
height, |
|
|
float |
aspect, |
|
|
float |
nearClipPlane, |
|
|
float |
farClipPlane |
|
) |
| |
Initializes a new instance of the Camera class.
- Parameters
-
position | The position. |
target | The target. |
fov | The fov. |
aspect | The aspect. |
nearClipPlane | The near clip plane. |
farClipPlane | The far clip plane. |
Definition at line 51 of file Camera.cs.
ScriptTest2.Camera.Camera |
( |
Vector3 |
position, |
|
|
float |
yaw, |
|
|
float |
pitch, |
|
|
float |
roll, |
|
|
float |
fov, |
|
|
float |
width, |
|
|
float |
height, |
|
|
float |
aspect, |
|
|
float |
nearClipPlane, |
|
|
float |
farClipPlane |
|
) |
| |
Initializes a new instance of the Camera class.
- Parameters
-
position | The position. |
yaw | The yaw. |
pitch | The pitch. |
roll | The roll. |
fov | The fov. |
aspect | The aspect. |
nearClipPlane | The near clip plane. |
farClipPlane | The far clip plane. |
Definition at line 78 of file Camera.cs.
override string ScriptTest2.Camera.ToString |
( |
| ) |
|
static Matrix ScriptTest2.Camera.YawPitchRoll |
( |
Vector3 |
position, |
|
|
Matrix |
matrix, |
|
|
float |
yaw, |
|
|
float |
pitch, |
|
|
float |
roll |
|
) |
| |
|
static |
float ScriptTest2.Camera.Aspect |
|
getset |
Gets or sets the aspect.
The aspect.
Definition at line 171 of file Camera.cs.
float ScriptTest2.Camera.FarClipPlane |
|
getset |
Gets or sets the far clip plane.
The far clip plane.
Definition at line 130 of file Camera.cs.
float ScriptTest2.Camera.FieldOfView |
|
getset |
Gets or sets the vertical field of view.
The field of view.
The horizontal field of view is determined
Definition at line 152 of file Camera.cs.
float ScriptTest2.Camera.Height |
|
getset |
bool ScriptTest2.Camera.IsOrthographic |
|
getset |
Gets or sets a value indicating whether this instance is orthographic.
true
if this instance is orthographic; otherwise, false
.
Definition at line 212 of file Camera.cs.
float ScriptTest2.Camera.NearClipPlane |
|
getset |
Gets or sets the near clip plane.
The near clip plane.
Definition at line 111 of file Camera.cs.
float ScriptTest2.Camera.OrthographicSize |
|
getset |
Gets or sets the camera half vertical size in orthographic mode.
The camera half vertical size .
This value is valid only when IsOrthographic is set to true.
Definition at line 193 of file Camera.cs.
Vector3 ScriptTest2.Camera.Position |
|
getset |
Matrix ScriptTest2.Camera.Projection |
|
getset |
Gets or sets the projection matrix.
The projection matrix.
Definition at line 270 of file Camera.cs.
Gets or sets the target.
The target.
>Only available for camera mode CameraMode.Target
Definition at line 309 of file Camera.cs.
float ScriptTest2.Camera.Width |
|
getset |
Matrix ScriptTest2.Camera.WorldToCamera |
|
getset |
The documentation for this class was generated from the following file:
- D:/Projects/Bitbucket Hosting/DoxygenFilesAndSources/Paradox v1.0.0 beta06/sources/scripts/ScriptTest2/Camera.cs