Table of Contents

Struct CameraProperties

Namespace
Gasimo.CineBlend
Assembly
Cineblend.CSharp.dll

Collection of camera properties that can be blended

public struct CameraProperties

Constructors

CameraProperties()

public CameraProperties()

Fields

FarPlane

Far Plane of the Camera

public BlendableFloat FarPlane

Field Value

BlendableFloat

FieldOfView

FOV Of the Camera

public BlendableFloat FieldOfView

Field Value

BlendableFloat

NearPlane

Near Plane of the Camera

public BlendableFloat NearPlane

Field Value

BlendableFloat

Position

Position of the camera

public BlendableVector3 Position

Field Value

BlendableVector3

Rotation

Orientation of the Camera

public BlendableQuaternion Rotation

Field Value

BlendableQuaternion

Methods

ApplyToCamera(Camera)

Applies the camera properties to a real camera

public void ApplyToCamera(Camera camera)

Parameters

camera Camera

Clone()

Creates a new object that is a copy of the current instance.

public object Clone()

Returns

object

A new object that is a copy of this instance.

GetProjectionMatrix()

Returns the ProjectionMatrix constructed from the camera properties

public Matrix GetProjectionMatrix()

Returns

Matrix

GetViewMatrix()

Returns the ViewMatrix constructed from the camera properties

public Matrix GetViewMatrix()

Returns

Matrix

LerpAndSet(CameraProperties, CameraProperties, float)

Utility class to blend between 2 camera properties and apply them to this property.

public void LerpAndSet(CameraProperties start, CameraProperties end, float t)

Parameters

start CameraProperties

Starting properties

end CameraProperties

Ending Properties

t float

Lerp value