GltfUtility.GetGltfObjectFromJson(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Remarks
Returned GltfObject still needs to be initialized using ConstructAsync(GltfObject).