Creates a new SerializedSceneObject by serializing the provided scene object.
Object whose state to serialize.
Optionalhierarchy: booleanIf true all children of the provided scene object will be serialized as well, otherwise just the provided object will.
OptionalisInternalConstructor: booleanDetermines if the serialization is valid
Records the current state of the scene object again, overwriting any previously recorded state.
Restores the scene object to the state as it was when this object was created. If the scene object was deleted since, it will be resurrected.
The SceneNodeManager to restore the object on.
Optionalinstance: booleanRestores the scene object to the state as it was when this object was created. If the scene object was deleted since, it will be resurrected.
The SceneInstance to restore the object on.
Optionalinstance: boolean
Serializes the current state of a scene object and allows that state to be restored. The advantage of using this class versus normal serialization is that the deserialization happens into the original scene object, instead of creating a new scene object.