Class RecordingServiceVisual
Namespace: Microsoft.MixedReality.SpectatorView
Assembly: cs.temp.dll.dll
Syntax
public class RecordingServiceVisual : MonoBehaviour, IRecordingServiceVisual, IMobileOverlayVisualChild
Fields
_buttonParent
Game object that contains the record and preview buttons
Declaration
protected GameObject _buttonParent
Field Value
Type | Description |
---|---|
Game |
_countdownLength
Length of time (in seconds) for countdown to start recording
Declaration
protected float _countdownLength
Field Value
Type | Description |
---|---|
Single |
_countdownParent
Game object shown when counting down to start recording
Declaration
protected GameObject _countdownParent
Field Value
Type | Description |
---|---|
Game |
_countdownText
Text updated to contain current countdown value when starting recording
Declaration
protected Text _countdownText
Field Value
Type | Description |
---|---|
Text |
_previewButton
Button used to view last recorded video
Declaration
protected Button _previewButton
Field Value
Type | Description |
---|---|
Button |
_recordButton
Button that toggles starting/stopping recording
Declaration
protected Button _recordButton
Field Value
Type | Description |
---|---|
Button |
_startRecordingBackgroundImage
Background image enabled on recording button when not recording
Declaration
protected Image _startRecordingBackgroundImage
Field Value
Type | Description |
---|---|
Image |
_startRecordingImage
Image enabled on recording button when not recording
Declaration
protected Image _startRecordingImage
Field Value
Type | Description |
---|---|
Image |
_stopRecordingBackgroundImage
Background image enabled on recording button when recording
Declaration
protected Image _stopRecordingBackgroundImage
Field Value
Type | Description |
---|---|
Image |
_stopRecordingImage
Image enabled on recording button when recording
Declaration
protected Image _stopRecordingImage
Field Value
Type | Description |
---|---|
Image |
Methods
Hide()
Hide any associated UI/GameObjects
Declaration
public void Hide()
OnPreviewClick()
Declaration
public void OnPreviewClick()
OnRecordClick()
Declaration
public void OnRecordClick()
SetRecordingService(IRecordingService)
Declaration
public void SetRecordingService(IRecordingService recordingService)
Parameters
Type | Name | Description |
---|---|---|
IRecording |
recordingService |
Show()
Show any associated UI/GameObjects
Declaration
public void Show()
Start()
Declaration
protected void Start()
Update()
Declaration
protected void Update()
Events
OverlayVisibilityRequest
Event for requesting to show/hide spectator view UI
Declaration
public event OverlayVisibilityRequest OverlayVisibilityRequest
Event Type
Type | Description |
---|---|
Overlay |