Class Mesh

Mesh class

A set of primitives to be rendered. Its global transform is defined by a node that references it.

public sealed class Mesh : LogicalChildOfRoot

Properties

NameDescription
AllPrimitivesHaveJoints { get; }
Extensions { get; }Gets a collection of JsonSerializable instances.
Extras { get; set; }Gets or sets the extras content of this instance.
LogicalIndex { get; }Gets the zero-based index of this object in the Logical resources of GlbImage.
LogicalParent { get; }Gets the GlbImage instance that owns this object.
MorphWeights { get; }
Name { get; set; }Gets or sets the display text name, or null.
Primitives { get; }
VisualParents { get; }

Methods

NameDescription
CreatePrimitive()Creates a new MeshPrimitive instance and adds it to the current Mesh.
GetExtension<T>()
GetMorphWeights()
RemoveExtensions<T>()
RemoveExtensions<T>(T)
SetExtension<T>(T)
SetMorphWeights(IReadOnlyList<float>)
SetMorphWeights(SparseWeight8)
UseExtension<T>()

See Also