GltfUtility.GetGltfObjectFromGlb(Byte[]) 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 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
Remarks
Returned GltfObject still needs to be initialized using ConstructAsync(GltfObject).