Vertex Viewer SDK
    Preparing search index...

    Function fromJson

    • Parses a JSON string representation of a Quaternion.

      Parameters

      • json: string

        A JSON string either in the form of [x, y, z, w] or {"x": 0, "y": 0, "z": 0, "w": 0}.

      Returns Quaternion.Quaternion

      A parsed Quaternion.