GltfUtility.GetGltfObjectFromGlb(Byte[]) Method

Definition

Gets a glTF object from the provided byte array

public:
 static Microsoft::MixedReality::Toolkit::Utilities::Gltf::Schema::GltfObject ^ GetGltfObjectFromGlb(cli::array <System::Byte> ^ glbData);
public static Microsoft.MixedReality.Toolkit.Utilities.Gltf.Schema.GltfObject GetGltfObjectFromGlb (byte[] glbData);
static member GetGltfObjectFromGlb : byte[] -> Microsoft.MixedReality.Toolkit.Utilities.Gltf.Schema.GltfObject
Public Shared Function GetGltfObjectFromGlb (glbData As Byte()) As GltfObject

Parameters

glbData
Byte[]

Raw glb byte data.

Returns

GltfObject

GltfObject

Remarks

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

Applies to