Time Rewizer  v.1.1
Created by: Mark Oostveen
MarkOostveen.TimeRewizer.Editor.Baking.PositionRotationEditorWindow Class Reference
+ Inheritance diagram for MarkOostveen.TimeRewizer.Editor.Baking.PositionRotationEditorWindow:
+ Collaboration diagram for MarkOostveen.TimeRewizer.Editor.Baking.PositionRotationEditorWindow:

Public Member Functions

void Initialize (PositionRotationBaker baker)
 
void Initialize (T baker)
 Initialization method More...
 
void Record (T snapshot)
 Recording Method More...
 

Public Attributes

const string DEFAULTNAME = "PositionRotationEditorWindow"
 
const string CACHENAME = "PositionRotationHierarchy"
 

Package Functions

void CloseOverload ()
 

Package Attributes

PositionRotationBaker m_AttachedScript
 

Properties

Action Clear [set]
 Clear function callback from Custom editor script code More...
 
bool Initialized [get, set]
 

Member Function Documentation

◆ CloseOverload()

void MarkOostveen.TimeRewizer.Editor.Baking.PositionRotationEditorWindow.CloseOverload ( )
package
105  {
106  Close();
107  }

◆ Initialize() [1/2]

void MarkOostveen.TimeRewizer.Editor.Baking.IBakeWindow< T >.Initialize ( baker)
inherited

Initialization method

Parameters
baker

◆ Initialize() [2/2]

void MarkOostveen.TimeRewizer.Editor.Baking.PositionRotationEditorWindow.Initialize ( PositionRotationBaker  baker)
46  {
47  m_AttachedScript = baker;
48 
49  m_AttachedGameObject = baker.gameObject;
50  m_AttachedScript.hideFlags = HideFlags.DontUnloadUnusedAsset;
51 
52  GetScriptableObject();
53 
54  m_Recording = m_Settings.Recording;
55 
56  m_Settings.Active = true;
57 
58  m_Gizmos = m_Settings.ShowGizmos;
59 
60  m_Hierarchy = new PositionRotationEditorWindowNodeHierarchy();
61  Showhierarchy();
62  if (m_Settings.m_RecordingData?.Count > 0 && m_Settings.Recording)
63  {
64  ExtractRecording();
65  }
66 
67  if (!Initialized)
68  {
69  EditorRewizeSystemUtility
70  .StartStopRecording<PositionRotationRewizer.Snapshot, PositionRotationEditorWindow,
71  PositionRotationBaker, PositionRotationRewizer>(this, m_AttachedGameObject);
72  }
73 
74  m_HierarchyActive = false;
75 
76  Initialized = true;
77  }

◆ Record()

void MarkOostveen.TimeRewizer.Editor.Baking.IRecorder< T >.Record ( snapshot)
inherited

Recording Method

Parameters
snapshot

Member Data Documentation

◆ CACHENAME

const string MarkOostveen.TimeRewizer.Editor.Baking.PositionRotationEditorWindow.CACHENAME = "PositionRotationHierarchy"

◆ DEFAULTNAME

const string MarkOostveen.TimeRewizer.Editor.Baking.PositionRotationEditorWindow.DEFAULTNAME = "PositionRotationEditorWindow"

◆ m_AttachedScript

PositionRotationBaker MarkOostveen.TimeRewizer.Editor.Baking.PositionRotationEditorWindow.m_AttachedScript
package

Property Documentation

◆ Clear

Action MarkOostveen.TimeRewizer.Editor.Baking.PositionRotationEditorWindow.Clear
set

Clear function callback from Custom editor script code

37 { private get; set; }

◆ Initialized

bool MarkOostveen.TimeRewizer.Editor.Baking.PositionRotationEditorWindow.Initialized
getset
43 { get; set; }