Class SerializationHelper
Constructors
constructor
-
Returns SerializationHelper
Properties
StaticAllow Loading Unique Id
AllowLoadingUniqueId: boolean = false
Gets or sets a boolean to indicate if the UniqueId property should be serialized
Methods
StaticAppend Serialized Animations
-
Appends the serialized animations from the source animations
Parameters
- source: IAnimatable
Source containing the animations
- destination: any
Target to store the animations
Returns void
- source: IAnimatable
StaticClone
StaticInstanciate
StaticParse
StaticParse Properties
StaticSerialize
-
Static function used to serialized a specific entity
Type Parameters
- T
Parameters
- entity: T
defines the entity to serialize
OptionalserializationObject: anydefines the optional target object where serialization data will be stored
Returns any
a JSON compatible object representing the serialization of the entity
Class used to help serialization objects