C# Class FMOD.Studio.CommandReplay

Inheritance: HandleBase
Show file Open project: fmod/UnityIntegration Class Usage Examples

Public Methods

Method Description
CommandReplay ( IntPtr raw ) : System
getCommandAtTime ( float time, int &commandIndex ) : RESULT
getCommandCount ( int &count ) : RESULT
getCommandInfo ( int commandIndex, COMMAND_INFO &info ) : RESULT
getCommandString ( int commandIndex, string &description ) : RESULT
getCurrentCommand ( int &commandIndex, float &currentTime ) : RESULT
getLength ( float &totalTime ) : RESULT
getPaused ( bool &paused ) : RESULT
getPlaybackState ( PLAYBACK_STATE &state ) : RESULT
getSystem ( System &system ) : RESULT
getUserData ( IntPtr &userData ) : RESULT
release ( ) : RESULT
seekToCommand ( int commandIndex ) : RESULT
seekToTime ( float time ) : RESULT
setBankPath ( string bankPath ) : RESULT
setCreateInstanceCallback ( COMMANDREPLAY_CREATE_INSTANCE_CALLBACK callback ) : RESULT
setFrameCallback ( COMMANDREPLAY_FRAME_CALLBACK callback ) : RESULT
setLoadBankCallback ( COMMANDREPLAY_LOAD_BANK_CALLBACK callback ) : RESULT
setPaused ( bool paused ) : RESULT
setUserData ( IntPtr userData ) : RESULT
start ( ) : RESULT
stop ( ) : RESULT

Protected Methods

Method Description
isValidInternal ( ) : bool

Private Methods

Method Description
FMOD_Studio_CommandReplay_GetCommandAtTime ( IntPtr replay, float time, int &commandIndex ) : RESULT
FMOD_Studio_CommandReplay_GetCommandCount ( IntPtr replay, int &count ) : RESULT
FMOD_Studio_CommandReplay_GetCommandInfo ( IntPtr replay, int commandIndex, COMMAND_INFO_INTERNAL &info ) : RESULT
FMOD_Studio_CommandReplay_GetCommandString ( IntPtr replay, int commandIndex, [ description, int capacity ) : RESULT
FMOD_Studio_CommandReplay_GetCurrentCommand ( IntPtr replay, int &commandIndex, float &currentTime ) : RESULT
FMOD_Studio_CommandReplay_GetLength ( IntPtr replay, float &totalTime ) : RESULT
FMOD_Studio_CommandReplay_GetPaused ( IntPtr replay, bool &paused ) : RESULT
FMOD_Studio_CommandReplay_GetPlaybackState ( IntPtr replay, PLAYBACK_STATE &state ) : RESULT
FMOD_Studio_CommandReplay_GetSystem ( IntPtr replay, IntPtr &system ) : RESULT
FMOD_Studio_CommandReplay_GetUserData ( IntPtr replay, IntPtr &userdata ) : RESULT
FMOD_Studio_CommandReplay_IsValid ( IntPtr replay ) : bool
FMOD_Studio_CommandReplay_Release ( IntPtr replay ) : RESULT
FMOD_Studio_CommandReplay_SeekToCommand ( IntPtr replay, int commandIndex ) : RESULT
FMOD_Studio_CommandReplay_SeekToTime ( IntPtr replay, float time ) : RESULT
FMOD_Studio_CommandReplay_SetBankPath ( IntPtr replay, byte bankPath ) : RESULT
FMOD_Studio_CommandReplay_SetCreateInstanceCallback ( IntPtr replay, COMMANDREPLAY_CREATE_INSTANCE_CALLBACK callback ) : RESULT
FMOD_Studio_CommandReplay_SetFrameCallback ( IntPtr replay, COMMANDREPLAY_FRAME_CALLBACK callback ) : RESULT
FMOD_Studio_CommandReplay_SetLoadBankCallback ( IntPtr replay, COMMANDREPLAY_LOAD_BANK_CALLBACK callback ) : RESULT
FMOD_Studio_CommandReplay_SetPaused ( IntPtr replay, bool paused ) : RESULT
FMOD_Studio_CommandReplay_SetUserData ( IntPtr replay, IntPtr userdata ) : RESULT
FMOD_Studio_CommandReplay_Start ( IntPtr replay ) : RESULT
FMOD_Studio_CommandReplay_Stop ( IntPtr replay ) : RESULT

Method Details

CommandReplay() public method

public CommandReplay ( IntPtr raw ) : System
raw System.IntPtr
return System

getCommandAtTime() public method

public getCommandAtTime ( float time, int &commandIndex ) : RESULT
time float
commandIndex int
return RESULT

getCommandCount() public method

public getCommandCount ( int &count ) : RESULT
count int
return RESULT

getCommandInfo() public method

public getCommandInfo ( int commandIndex, COMMAND_INFO &info ) : RESULT
commandIndex int
info COMMAND_INFO
return RESULT

getCommandString() public method

public getCommandString ( int commandIndex, string &description ) : RESULT
commandIndex int
description string
return RESULT

getCurrentCommand() public method

public getCurrentCommand ( int &commandIndex, float &currentTime ) : RESULT
commandIndex int
currentTime float
return RESULT

getLength() public method

public getLength ( float &totalTime ) : RESULT
totalTime float
return RESULT

getPaused() public method

public getPaused ( bool &paused ) : RESULT
paused bool
return RESULT

getPlaybackState() public method

public getPlaybackState ( PLAYBACK_STATE &state ) : RESULT
state PLAYBACK_STATE
return RESULT

getSystem() public method

public getSystem ( System &system ) : RESULT
system System
return RESULT

getUserData() public method

public getUserData ( IntPtr &userData ) : RESULT
userData IntPtr
return RESULT

isValidInternal() protected method

protected isValidInternal ( ) : bool
return bool

release() public method

public release ( ) : RESULT
return RESULT

seekToCommand() public method

public seekToCommand ( int commandIndex ) : RESULT
commandIndex int
return RESULT

seekToTime() public method

public seekToTime ( float time ) : RESULT
time float
return RESULT

setBankPath() public method

public setBankPath ( string bankPath ) : RESULT
bankPath string
return RESULT

setCreateInstanceCallback() public method

public setCreateInstanceCallback ( COMMANDREPLAY_CREATE_INSTANCE_CALLBACK callback ) : RESULT
callback COMMANDREPLAY_CREATE_INSTANCE_CALLBACK
return RESULT

setFrameCallback() public method

public setFrameCallback ( COMMANDREPLAY_FRAME_CALLBACK callback ) : RESULT
callback COMMANDREPLAY_FRAME_CALLBACK
return RESULT

setLoadBankCallback() public method

public setLoadBankCallback ( COMMANDREPLAY_LOAD_BANK_CALLBACK callback ) : RESULT
callback COMMANDREPLAY_LOAD_BANK_CALLBACK
return RESULT

setPaused() public method

public setPaused ( bool paused ) : RESULT
paused bool
return RESULT

setUserData() public method

public setUserData ( IntPtr userData ) : RESULT
userData IntPtr
return RESULT

start() public method

public start ( ) : RESULT
return RESULT

stop() public method

public stop ( ) : RESULT
return RESULT