Table of Contents

Class FieldOfViewMotion

Lerps the Camera.fieldOfView value.

public class FieldOfViewMotion : AbstractFloatMotion<Camera>, ITweenMotion, IMotion
Inheritance
FieldOfViewMotion
Implements
Inherited Members
Extension Methods

Constructors

FieldOfViewMotion(Camera, float?, float)

public FieldOfViewMotion(Camera item, float? from, float to)

Parameters

item Camera
from float?
to float

FieldOfViewMotion(Camera, float)

public FieldOfViewMotion(Camera item, float value)

Parameters

item Camera
value float

Methods

GetFrom()

protected override float GetFrom()

Returns

float

SetValue(float)

protected override void SetValue(float value)

Parameters

value float