Table of Contents

Class PerspectiveCameraCore

Namespace
HelixToolkit.SharpDX.Cameras
Assembly
HelixToolkit.SharpDX.dll
public class PerspectiveCameraCore : ProjectionCameraCore, INotifyPropertyChanged, ICamera
Inheritance
PerspectiveCameraCore
Implements
Inherited Members
Extension Methods

Properties

FieldOfView

public float FieldOfView { get; set; }

Property Value

float

Methods

CreateCameraParams(float)

public override FrustumCameraParams CreateCameraParams(float aspectRatio)

Parameters

aspectRatio float

Returns

FrustumCameraParams

CreateCameraParams(float, float, float)

public override FrustumCameraParams CreateCameraParams(float aspectRatio, float nearPlane, float farPlane)

Parameters

aspectRatio float
nearPlane float
farPlane float

Returns

FrustumCameraParams

CreateProjectionMatrix(float)

Creates the projection matrix.

public override Matrix4x4 CreateProjectionMatrix(float aspectRatio)

Parameters

aspectRatio float

The aspect ratio.

Returns

Matrix4x4

A Matrix4x4.

CreateProjectionMatrix(float, float, float)

Creates the projection matrix.

public override Matrix4x4 CreateProjectionMatrix(float aspectRatio, float nearPlane, float farPlane)

Parameters

aspectRatio float

The aspect ratio.

nearPlane float

The near plane.

farPlane float

The far plane.

Returns

Matrix4x4

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.