C# Class Linearstar.MikuMikuMoving.AnimateCaptionPlugin.AnimationEntry

Exibir arquivo Open project: mfakane/MikuMikuMoving-Plugins Class Usage Examples

Public Methods

Method Description
Add ( float value ) : void
AnimationEntry ( ) : System
GetBeginEndFramePair ( double startFrame, double duration, double currentFrame ) : Linearstar.MikuMikuMoving.AnimateCaptionPlugin.AnimationFrame[]
Lerp ( double startFrame, double duration, double currentFrame ) : AnimationFrame
Parse ( byte version, BinaryReader br ) : AnimationEntry
SetBeginEndFramePair ( double startFrame, double duration, double currentFrame, float values ) : Linearstar.MikuMikuMoving.AnimateCaptionPlugin.AnimationFrame[]
Write ( BinaryWriter bw ) : void

Private Methods

Method Description
Ease ( float amount ) : float
GetBeginEndFramePairNodes ( double startFrame, double duration, double currentFrame ) : LinkedListNode[]

Method Details

Add() public method

public Add ( float value ) : void
value float
return void

AnimationEntry() public method

public AnimationEntry ( ) : System
return System

GetBeginEndFramePair() public method

public GetBeginEndFramePair ( double startFrame, double duration, double currentFrame ) : Linearstar.MikuMikuMoving.AnimateCaptionPlugin.AnimationFrame[]
startFrame double
duration double
currentFrame double
return Linearstar.MikuMikuMoving.AnimateCaptionPlugin.AnimationFrame[]

Lerp() public method

public Lerp ( double startFrame, double duration, double currentFrame ) : AnimationFrame
startFrame double
duration double
currentFrame double
return AnimationFrame

Parse() public static method

public static Parse ( byte version, BinaryReader br ) : AnimationEntry
version byte
br System.IO.BinaryReader
return AnimationEntry

SetBeginEndFramePair() public method

public SetBeginEndFramePair ( double startFrame, double duration, double currentFrame, float values ) : Linearstar.MikuMikuMoving.AnimateCaptionPlugin.AnimationFrame[]
startFrame double
duration double
currentFrame double
values float
return Linearstar.MikuMikuMoving.AnimateCaptionPlugin.AnimationFrame[]

Write() public method

public Write ( BinaryWriter bw ) : void
bw System.IO.BinaryWriter
return void