C# Класс AnimatorClient.AnimatorClient

TODO: Update summary.
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
AnimatorClient ( ) : System

DeleteAnimation ( int index ) : void
GetAnimationTitles ( ) : List
GetAnimations ( List currentAnimations ) : List

Downloads the list of animations from the server. It will not send any animations that have the an MD5 hash given.

GetStatus ( ) : string
PlayAnimation ( int index, System.TimeSpan delta, string audioFileName ) : void

Send a signal to the server to start playing the animation at the specified index and start time. Start playing the audio at the specified time.

SetSerialState ( bool value ) : void

Sets the serial state, connected or disconnected. True is connected, false is disconnected.

StopAnimation ( bool sendBlank ) : void

UploadAnimation ( Animation animation ) : void

Приватные методы

Метод Описание
CreateInputStream ( string fileName ) : NAudio.Wave.WaveChannel32

Creates a wave stream from the given file.

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

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

public AnimatorClient ( ) : System
Результат System

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

public DeleteAnimation ( int index ) : void
index int
Результат void

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

public GetAnimationTitles ( ) : List
Результат List

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

Downloads the list of animations from the server. It will not send any animations that have the an MD5 hash given.
public GetAnimations ( List currentAnimations ) : List
currentAnimations List A list of animations that have already been downloaded
Результат List

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

public GetStatus ( ) : string
Результат string

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

Send a signal to the server to start playing the animation at the specified index and start time. Start playing the audio at the specified time.
public PlayAnimation ( int index, System.TimeSpan delta, string audioFileName ) : void
index int The index of the animation
delta System.TimeSpan The start time into the animation
audioFileName string
Результат void

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

Sets the serial state, connected or disconnected. True is connected, false is disconnected.
public SetSerialState ( bool value ) : void
value bool
Результат void

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

public StopAnimation ( bool sendBlank ) : void
sendBlank bool
Результат void

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

public UploadAnimation ( Animation animation ) : void
animation AnimationModels.Animation
Результат void