Skip to content

Commit 61ee3dc

Browse files
committed
minor refactoring and start of class comments
1 parent 5564513 commit 61ee3dc

27 files changed

+196
-41
lines changed

docs/Overview.vsdx

7.93 KB
Binary file not shown.

docs/~$$Overview.~vsdx

-4 KB
Binary file not shown.

docs/~$sign preview.docx

-162 Bytes
Binary file not shown.

source/Core/FrameRecorder/Core/Engine/BaseImageRecorder.cs

Lines changed: 0 additions & 29 deletions
This file was deleted.

source/Core/FrameRecorder/Core/Engine/FrameRecorderAttribute.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
namespace UnityEngine.FrameRecorder
44
{
5+
6+
/// <summary>
7+
/// What is this:
8+
/// Motivation :
9+
/// Notes:
10+
/// </summary>
511
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = false)]
612
public class FrameRecorderAttribute : Attribute
713
{

source/Core/FrameRecorder/Core/Engine/FrameRecorderGOControler.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
namespace UnityEngine.FrameRecorder
44
{
5+
6+
/// <summary>
7+
/// What is this:
8+
/// Motivation :
9+
/// Notes:
10+
/// </summary>
511
public class FrameRecorderGOControler
612
{
713
const string k_HostGoName = "UnityEngine-Recorder-FrameRecorder";
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
using System.Collections.Generic;
2+
using UnityEngine.FrameRecorder.Input;
3+
#if UNITY_EDITOR
4+
using UnityEditor;
5+
#endif
6+
7+
namespace UnityEngine.FrameRecorder
8+
{
9+
/// <summary>
10+
/// What is it:
11+
/// Motivation:
12+
/// Notes:
13+
/// </summary>
14+
public abstract class GenericRecorder<TSettings> : Recorder where TSettings : RecorderSettings
15+
{
16+
[SerializeField]
17+
protected TSettings m_Settings;
18+
public override RecorderSettings settings
19+
{
20+
get { return m_Settings; }
21+
set { m_Settings = (TSettings)value; }
22+
}
23+
}
24+
}

source/Core/FrameRecorder/Core/Engine/InputSettings.cs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,21 @@
22

33
namespace UnityEngine.FrameRecorder
44
{
5+
/// <summary>
6+
/// What is this:
7+
/// Motivation :
8+
/// Notes:
9+
/// </summary>
510
public abstract class RecorderInputSetting : ScriptableObject
611
{
712
public abstract Type inputType { get; }
813
}
914

15+
/// <summary>
16+
/// What is this:
17+
/// Motivation :
18+
/// Notes:
19+
/// </summary>
1020
public class InputSettings<TInput> : RecorderInputSetting
1121
{
1222
public override Type inputType

source/Core/FrameRecorder/Core/Engine/Recorder.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@ public enum ERecordingSessionStage
1212
EndRecording,
1313
}
1414

15+
/// <summary>
16+
/// What is this:
17+
/// Motivation :
18+
/// Notes:
19+
/// </summary>
1520
public abstract class Recorder : ScriptableObject
1621
{
1722
double m_OriginalCaptureFrameRate;

0 commit comments

Comments
 (0)