Table of Contents

Class OrthographicSizeMotion

Lerps the Camera.orthographicSize value.

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

Constructors

OrthographicSizeMotion(Camera, float?, float)

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

Parameters

item Camera
from float?
to float

OrthographicSizeMotion(Camera, float)

public OrthographicSizeMotion(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