GltfUtility.GetGltfObjectFromJson(String) Method

Definition

Gets a glTF object from the provided json string.

public:
 static Microsoft::MixedReality::Toolkit::Utilities::Gltf::Schema::GltfObject ^ GetGltfObjectFromJson(System::String ^ jsonString);
public static Microsoft.MixedReality.Toolkit.Utilities.Gltf.Schema.GltfObject GetGltfObjectFromJson (string jsonString);
static member GetGltfObjectFromJson : string -> Microsoft.MixedReality.Toolkit.Utilities.Gltf.Schema.GltfObject
Public Shared Function GetGltfObjectFromJson (jsonString As String) As GltfObject

Parameters

jsonString
String

String defining a glTF Object.

Returns

GltfObject

GltfObject

Remarks

Returned GltfObject still needs to be initialized using ConstructAsync(GltfObject).

Applies to