Class GltfMesh
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
Inherited Members
Namespace: Microsoft.MixedReality.Toolkit.Utilities.Gltf.Schema
Assembly: cs.temp.dll.dll
Syntax
[Serializable]
public class GltfMesh : GltfChildOfRootProperty
Fields
primitives
An array of primitives, each defining geometry to be rendered with
a material.
Declaration
public GltfMeshPrimitive[] primitives
Field Value
Type | Description |
---|---|
GltfMeshPrimitive[] |
weights
Array of weights to be applied to the Morph Targets.
Declaration
public double[] weights
Field Value
Type | Description |
---|---|
Double[] |
Properties
Mesh
Unity Mesh wrapper for the GltfMesh
Declaration
public Mesh Mesh { get; }
Property Value
Type | Description |
---|---|
Mesh |