GltfMesh Class

Definition

A set of primitives to be rendered. A node can contain one or more meshes. A node's transform places the mesh in the scene. https://github.com/KhronosGroup/glTF/blob/master/specification/2.0/schema/mesh.schema.json

C++
public ref class GltfMesh : Microsoft::MixedReality::Toolkit::Utilities::Gltf::Schema::GltfChildOfRootProperty
Inheritance
Attributes

Constructors

Fields

Extensions

https://github.com/KhronosGroup/glTF/blob/master/specification/2.0/schema/extension.schema.json

(Inherited from GltfProperty)
Extras

https://github.com/KhronosGroup/glTF/blob/master/specification/2.0/schema/extras.schema.json

(Inherited from GltfProperty)
name

The user-defined name of this object. This is not necessarily unique, e.g., an accessor and a buffer could have the same name, or two accessors could even have the same name.

(Inherited from GltfChildOfRootProperty)
primitives

An array of primitives, each defining geometry to be rendered with a material. 1

weights

Array of weights to be applied to the Morph Targets. 0

Properties

Mesh

Unity Mesh wrapper for the GltfMesh

Applies to

Produto Versións
MRTK2 Unity 2018 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0
MRTK2 Unity 2019 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0
MRTK2 Unity 2020 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0