C# Класс a.spritestudio.editor.Interpolater

補間
Показать файл Открыть проект

Открытые методы

Метод Описание
GetInterpolater ( string type ) : Interpolater

補間機の取得

Interpolate ( float left, float right, float t ) : float

補間

Interpolate ( float left, float right, int leftKey, int rightKey, int nowKey ) : float

キーフレームを指定して補間

Interpolate ( float left, float right, int leftKey, int rightKey, int nowKey ) : float[]

複数を纏めて補間

Описание методов

GetInterpolater() публичный статический Метод

補間機の取得
public static GetInterpolater ( string type ) : Interpolater
type string
Результат Interpolater

Interpolate() публичный абстрактный Метод

補間
public abstract Interpolate ( float left, float right, float t ) : float
left float
right float
t float
Результат float

Interpolate() публичный Метод

キーフレームを指定して補間
public Interpolate ( float left, float right, int leftKey, int rightKey, int nowKey ) : float
left float
right float
leftKey int
rightKey int
nowKey int
Результат float

Interpolate() публичный Метод

複数を纏めて補間
public Interpolate ( float left, float right, int leftKey, int rightKey, int nowKey ) : float[]
left float
right float
leftKey int
rightKey int
nowKey int
Результат float[]