|
Swing
1.0
|
Classes | |
| class | Data |
| class | RecordSetting |
Public Types | |
| enum | Options { DontDestroyOnLoad = 1, AttachedChild = 1 << 1, ViewCamera = 1 << 2, DummyObject = 1 << 3 } |
| vs. ComponentRecorder.Options !! | |
| enum | State { UnConfigured = 1, Added = 2, Registered = 4, Awaked = 1001, Destroyed = 1002, Marked = 1100, Recording = 1202, Playback = 1302, Invalid = 9999 } |
| enum | Validation { None, UnConfigured, UnRegistered, BlankLabel, ReservedLabel, DuplicatedLabel, UnRegisteredLabel, DontMatchOwnerOfLabel, LostParent, InvalidParent, InvalidOperation, NotValidated = 999, OK = 1000 } |
Public Member Functions | |
| bool | Configure (string label=null) |
| bool | StartNewFragment (IReplayDataContainer container, ReplayData newData=null) |
| void | Stop () |
| void | UpdateFrame (float time) |
| void | LateUpdateFrame (float time) |
| void | EndOfFrame (float time) |
| void | OnTimeJumped () |
| bool | StartPlayback (ReplayData replayData) |
| void | StopPlayback () |
| Validation | PreValidate (bool isPrefab, bool toRegister, bool force=false) |
| void | SetEmptyInRecording () |
| bool | StartRecording (int replayID=0) |
| void | SetOptions (int optionValue) |
| bool | AddCustomRecorder< T > (CustomRecorder< T > recorder) |
| void | RevertSettings () |
| void | ClearSettings () |
| List< RecordSetting > | GetRecordableList (bool force) |
| bool | IsUnConfigured () |
| bool | IsRegistered () |
| bool | IsInGameplay () |
| bool | IsInRecording () |
| bool | IsInPlayback () |
Static Public Member Functions | |
| static GameObjectRecorder | AddTo (GameObject prefab, string label=null) |
| static bool | RemoveFrom (GameObject prefab) |
Public Attributes | |
| int | testPlaybackID = 0 |
| Validation | lastValidation = Validation.NotValidated |
| bool | isEmptyParent = false |
| State | state = State.UnConfigured |
Properties | |
| int | replayID [get] |
| string | Label [get] |
| bool | isDontDestroyOnLoad [get] |
| bool | isAttachedChild [get] |
| bool | isRoot [get] |
| bool | isDummyObject [get] |
| bool | isViewCamera [get] |
| bool | isActivate [get] |
| bool | isDirtyFrame [get] |
| bool | isRecordingStarted [get] |
Properties inherited from Swing.IRecorder | |
| int | replayID [get] |
| bool Swing.GameObjectRecorder.AddCustomRecorder< T > | ( | CustomRecorder< T > | recorder | ) |
Register a custom recorder to the replay controller
| recorder | Custom recorder |
1.8.10