SerializationHelper

Hierarchy

  • SerializationHelper

Index

Methods

Static Clone

  • Clone<T>(creationFunction: function, source: T): T
  • Type parameters

    • T

    Parameters

    • creationFunction: function
        • (): T
        • Returns T

    • source: T

    Returns T

Static Instanciate

  • Instanciate<T>(creationFunction: function, source: T): T
  • Type parameters

    • T

    Parameters

    • creationFunction: function
        • (): T
        • Returns T

    • source: T

    Returns T

Static Parse

  • Parse<T>(creationFunction: function, source: any, scene: Nullable<Scene>, rootUrl?: Nullable<string>): T
  • Type parameters

    • T

    Parameters

    • creationFunction: function
        • (): T
        • Returns T

    • source: any
    • scene: Nullable<Scene>
    • Optional rootUrl: Nullable<string>

    Returns T

Static Serialize

  • Serialize<T>(entity: T, serializationObject?: any): any
  • Type parameters

    • T

    Parameters

    • entity: T
    • Optional serializationObject: any

    Returns any

Generated using TypeDoc