C# Class a.spritestudio.editor.Interpolater

補間
Mostrar archivo Open project: cfm-art/SpriteStudioPlayerForUGUI

Public Methods

Method Description
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[]

複数を纏めて補間

Method Details

GetInterpolater() public static method

補間機の取得
public static GetInterpolater ( string type ) : Interpolater
type string
return Interpolater

Interpolate() public abstract method

補間
public abstract Interpolate ( float left, float right, float t ) : float
left float
right float
t float
return float

Interpolate() public method

キーフレームを指定して補間
public Interpolate ( float left, float right, int leftKey, int rightKey, int nowKey ) : float
left float
right float
leftKey int
rightKey int
nowKey int
return float

Interpolate() public method

複数を纏めて補間
public Interpolate ( float left, float right, int leftKey, int rightKey, int nowKey ) : float[]
left float
right float
leftKey int
rightKey int
nowKey int
return float[]