C# Class Linearstar.MikuMikuMoving.AnimateCaptionPlugin.AnimationData

Afficher le fichier Open project: mfakane/MikuMikuMoving-Plugins Class Usage Examples

Méthodes publiques

Méthode 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

Méthode Description
Lerp ( double startFrame, double duration, double frame ) : Values

Method Details

Add() public méthode

public Add ( float frameAmount, Values values ) : void
frameAmount float
values Values
Résultat void

AddFrame() public méthode

public AddFrame ( ICaption caption, double frame ) : void
caption ICaption
frame double
Résultat void

AddSorted() public méthode

public AddSorted ( AnimationEntry entry, double startFrame, double duration, double frame ) : void
entry AnimationEntry
startFrame double
duration double
frame double
Résultat void

AnimationData() public méthode

public AnimationData ( ) : System
Résultat System

AnimationData() public méthode

public AnimationData ( ICaption caption ) : System
caption ICaption
Résultat System

ApplyAnimation() public méthode

public ApplyAnimation ( ICaption caption, float frame ) : Action
caption ICaption
frame float
Résultat Action

MoveFrame() public méthode

public MoveFrame ( int index, float frameAmount ) : void
index int
frameAmount float
Résultat void

Parse() public static méthode

public static Parse ( byte version, BinaryReader br ) : AnimationData
version byte
br System.IO.BinaryReader
Résultat AnimationData

RemoveFrame() public méthode

public RemoveFrame ( int index ) : void
index int
Résultat void

Write() public méthode

public Write ( BinaryWriter bw ) : void
bw System.IO.BinaryWriter
Résultat void