C# Class Linearstar.MikuMikuMoving.AnimateCaptionPlugin.AnimationData

Show file Open project: mfakane/MikuMikuMoving-Plugins Class Usage Examples

Public Methods

Method Description
Add ( float frameAmount, Values values ) : void
AddFrame ( ICaption caption, double frame ) : void
AddSorted ( AnimationEntry entry, double startFrame, double duration, double frame ) : void
AnimationData ( ) : System
AnimationData ( ICaption caption ) : System
ApplyAnimation ( ICaption caption, float frame ) : Action
MoveFrame ( int index, float frameAmount ) : void
Parse ( byte version, BinaryReader br ) : AnimationData
RemoveFrame ( int index ) : void
Write ( BinaryWriter bw ) : void

Private Methods

Method Description
Lerp ( double startFrame, double duration, double frame ) : Values

Method Details

Add() public method

public Add ( float frameAmount, Values values ) : void
frameAmount float
values Values
return void

AddFrame() public method

public AddFrame ( ICaption caption, double frame ) : void
caption ICaption
frame double
return void

AddSorted() public method

public AddSorted ( AnimationEntry entry, double startFrame, double duration, double frame ) : void
entry AnimationEntry
startFrame double
duration double
frame double
return void

AnimationData() public method

public AnimationData ( ) : System
return System

AnimationData() public method

public AnimationData ( ICaption caption ) : System
caption ICaption
return System

ApplyAnimation() public method

public ApplyAnimation ( ICaption caption, float frame ) : Action
caption ICaption
frame float
return Action

MoveFrame() public method

public MoveFrame ( int index, float frameAmount ) : void
index int
frameAmount float
return void

Parse() public static method

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

RemoveFrame() public method

public RemoveFrame ( int index ) : void
index int
return void

Write() public method

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