Click or drag to resize

AvatarRecordingService Class

Handles Avatar recording
Inheritance Hierarchy

Namespace:  ImmerseSDK.Avatars
Assembly:  ImmerseSDK.App (in ImmerseSDK.App.dll) Version: 3.5.0.0 (3.5.0.0)
Syntax
C#
[ScriptOrderAttribute(-29000)]
public class AvatarRecordingService : SingletonBehaviour

The AvatarRecordingService type exposes the following members.

Constructors
  NameDescription
Private methodStatic memberAvatarRecordingService
Public methodAvatarRecordingService
Initializes a new instance of the AvatarRecordingService class
Top
Properties
  NameDescription
Public propertyIsPlaying
Are we currently playing back a recording?
Public propertyIsRecording
Are we currently recording?
Public propertyIsStartRecordingEnabled
Enable/Disable recording
Top
Methods
  NameDescription
Public methodCoroutineInitialise
Initialisation routine, called by the SDK
(Overrides SingletonBehaviourCoroutineInitialise.)
Public methodHasMoreKeyframes
True if the current recording has more key frames
Public methodStatic memberLoadRecordingDataFromFile(String)
Loads recording data from file
Public methodStatic memberLoadRecordingDataFromFile(String, Boolean)
Loads recording data from file
Public methodStatic memberLoadRecordingDataFromResource(String)
Loads recording data from resource
Public methodStatic memberLoadRecordingDataFromResource(String, Boolean)
Loads recording data from resource
Public methodStatic memberSaveRecording
Saves a recording to disk using a timestamped filename
Public methodSendRecordingToUser(UserID, ConsumerRecordingData)
Send to recording to a user and play it
Public methodSendRecordingToUser(UserID, Byte)
Send to recording to a user and play it
Public methodSendRecordingToUser(UserID, String)
Send to recording to a user and play it
Public methodStartPlayback
Start playback of an avatar recording
Public methodStartPlaybackFromFile
Start playback of an avatar recording
Public methodStartPlaybackFromResource
Start playback of an avatar recording
Public methodStartRecording(String)
Start recording the local user's avatar
Public methodStartRecording(IAvatarDataProvider, String)
Start recording using the data provider specified
Public methodStartStopRecording
Method to get the recording to start or stop depending on the passed in parameters and the current state of recording
Public methodStopPlayback
Stop playback of an avatar recording
Public methodStopRecording
Stop the current recording and save the file to disk
Top
Fields
  NameDescription
Public fieldStatic memberFileExtension
File extension of an avatar recording file
Public fieldStatic memberRecorderVersion
Current version of the Avatar recording system
Public fieldStatic memberRelativePathToRecordingData
Path where we expect avatar recordings to be located (relative to the project)
Public fieldStatic memberRelativePathToRecordingSaveData
Path where we expect avatar recordings to be located
Top
Extension Methods
  NameDescription
Public Extension MethodGetCopyOf
Copies all properties of a component from source to target. Uses reflection to set properties.
(Defined by ComponentExtensions.)
Public Extension MethodWaitForT
Waits for a singleton on a coroutine
(Defined by SingletonManager.)
Top
See Also