Class Camera
Inheritance
System.Object
Camera
Namespace: Aximo
Assembly: AxCommon.dll
Syntax
public abstract class Camera : IPosition, IData
Constructors
|
Improve this Doc
View Source
Declaration
public Camera(Vector3 position)
Parameters
Type |
Name |
Description |
OpenToolkit.Mathematics.Vector3 |
position |
|
Fields
|
Improve this Doc
View Source
_FovInternal
Declaration
protected float _FovInternal
Field Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
_Pitch
Declaration
Field Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
_Position
Declaration
protected Vector3 _Position
Field Value
Type |
Description |
OpenToolkit.Mathematics.Vector3 |
|
Properties
|
Improve this Doc
View Source
AspectRatio
Declaration
public float AspectRatio { get; set; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
Facing
Declaration
public float Facing { get; set; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
FarPlane
Declaration
public float FarPlane { get; set; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
Fov
Declaration
public float Fov { get; set; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
InvertedViewProjectionMatrix
Declaration
public Matrix4 InvertedViewProjectionMatrix { get; }
Property Value
Type |
Description |
OpenToolkit.Mathematics.Matrix4 |
|
|
Improve this Doc
View Source
LookAt
Declaration
public Vector3? LookAt { get; set; }
Property Value
Type |
Description |
System.Nullable<OpenToolkit.Mathematics.Vector3> |
|
|
Improve this Doc
View Source
NearPlane
Declaration
public float NearPlane { get; set; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
Pitch
Declaration
public float Pitch { get; set; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
Position
Declaration
public Vector3 Position { get; set; }
Property Value
Type |
Description |
OpenToolkit.Mathematics.Vector3 |
|
|
Improve this Doc
View Source
ProjectionMatrix
Declaration
public Matrix4 ProjectionMatrix { get; }
Property Value
Type |
Description |
OpenToolkit.Mathematics.Matrix4 |
|
|
Improve this Doc
View Source
Type
Declaration
public abstract CameraType Type { get; }
Property Value
|
Improve this Doc
View Source
Up
Declaration
public Vector3 Up { get; set; }
Property Value
Type |
Description |
OpenToolkit.Mathematics.Vector3 |
|
|
Improve this Doc
View Source
ViewMatrix
Declaration
public Matrix4 ViewMatrix { get; }
Property Value
Type |
Description |
OpenToolkit.Mathematics.Matrix4 |
|
|
Improve this Doc
View Source
ViewProjectionMatrix
Declaration
public Matrix4 ViewProjectionMatrix { get; }
Property Value
Type |
Description |
OpenToolkit.Mathematics.Matrix4 |
|
Methods
|
Improve this Doc
View Source
Declaration
public T GetExtraData<T>(string name, T defaultValue = null)
Parameters
Type |
Name |
Description |
System.String |
name |
|
T |
defaultValue |
|
Returns
Type Parameters
|
Improve this Doc
View Source
GetProjectionMatrix()
Declaration
protected abstract Matrix4 GetProjectionMatrix()
Returns
Type |
Description |
OpenToolkit.Mathematics.Matrix4 |
|
|
Improve this Doc
View Source
Declaration
public virtual Matrix4 GetViewMatrix(Vector3 eye)
Parameters
Type |
Name |
Description |
OpenToolkit.Mathematics.Vector3 |
eye |
|
Returns
Type |
Description |
OpenToolkit.Mathematics.Matrix4 |
|
|
Improve this Doc
View Source
Declaration
public bool HasExtraData(string name)
Parameters
Type |
Name |
Description |
System.String |
name |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
OnCameraChanged()
Declaration
protected void OnCameraChanged()
|
Improve this Doc
View Source
SetAspectRatio(Single, Single)
Declaration
public void SetAspectRatio(float width, float height)
Parameters
Type |
Name |
Description |
System.Single |
width |
|
System.Single |
height |
|
|
Improve this Doc
View Source
SetExraData<T>(String, T, T)
Declaration
public bool SetExraData<T>(string name, T value, T defaultValue = null)
Parameters
Type |
Name |
Description |
System.String |
name |
|
T |
value |
|
T |
defaultValue |
|
Returns
Type |
Description |
System.Boolean |
|
Type Parameters
Events
|
Improve this Doc
View Source
CameraChangedInternal
Declaration
public event Camera.CameraChangedDelegate CameraChangedInternal
Event Type
Implements