Time Rewizer  v.1.1
Created by: Mark Oostveen
MarkOostveen.TimeRewizer.AudioRewizer.Snapshot Struct Reference

Struct containing snapshot for audiorewinding More...

+ Inheritance diagram for MarkOostveen.TimeRewizer.AudioRewizer.Snapshot:
+ Collaboration diagram for MarkOostveen.TimeRewizer.AudioRewizer.Snapshot:

Public Member Functions

AudioValue GetValue ()
 Get current snapshot More...
 
void SetValue (AudioValue input)
 Set new snapshot More...
 
void SetValue (object input)
 set new snapshot, object will be casted into generic type More...
 
object ISnapShot. GetValue ()
 
void SetValue (T input)
 Set Snapshot More...
 

Package Functions

 Snapshot (AudioSource source)
 

Detailed Description

Struct containing snapshot for audiorewinding

Constructor & Destructor Documentation

◆ Snapshot()

MarkOostveen.TimeRewizer.AudioRewizer.Snapshot.Snapshot ( AudioSource  source)
package
15  {
16  m_Value = new AudioValue(source);
17  }

Member Function Documentation

◆ GetValue() [1/2]

AudioValue MarkOostveen.TimeRewizer.AudioRewizer.Snapshot.GetValue ( )

Get current snapshot

Returns
26  {
27  return m_Value;
28  }

◆ GetValue() [2/2]

object ISnapShot. MarkOostveen.TimeRewizer.AudioRewizer.Snapshot.GetValue ( )
49  {
50  return m_Value;
51  }

◆ SetValue() [1/3]

void MarkOostveen.TimeRewizer.ISnapShot< T >.SetValue ( input)
inherited

Set Snapshot

Parameters
input

◆ SetValue() [2/3]

void MarkOostveen.TimeRewizer.AudioRewizer.Snapshot.SetValue ( AudioValue  input)

Set new snapshot

Parameters
input
35  {
36  m_Value = input;
37  }

◆ SetValue() [3/3]

void MarkOostveen.TimeRewizer.AudioRewizer.Snapshot.SetValue ( object  input)

set new snapshot, object will be casted into generic type

Parameters
input
44  {
45  m_Value = (AudioValue)input;
46  }