Class MeshBase<TExtras, TPrimitive>
A set of primitives to be rendered. Its global transform is defined by a node that references it.
Implements
Inherited Members
Namespace: GLTFast.Schema
Assembly: glTFast.dll
Syntax
[Serializable]
public abstract class MeshBase<TExtras, TPrimitive> : MeshBase, ICloneable where TExtras : MeshExtras where TPrimitive : MeshPrimitiveBase
Type Parameters
Name | Description |
---|---|
TExtras | extras type |
TPrimitive | Mesh primitive type |
Fields
extras
Application-specific data for meshes
Declaration
public TExtras extras
Field Value
Type | Description |
---|---|
TExtras |
primitives
An array of primitives, each defining geometry to be rendered with a material.
Declaration
public TPrimitive[] primitives
Field Value
Type | Description |
---|---|
TPrimitive[] |
Properties
Extras
Application-specific data for meshes
Declaration
public override MeshExtras Extras { get; }
Property Value
Type | Description |
---|---|
MeshExtras |
Overrides
Primitives
An array of primitives, each defining geometry to be rendered with a material.
Declaration
public override IReadOnlyList<MeshPrimitiveBase> Primitives { get; }
Property Value
Type | Description |
---|---|
IReadOnlyList<MeshPrimitiveBase> |
Overrides
Methods
Clone()
Clones the Mesh object
Declaration
public object Clone()
Returns
Type | Description |
---|---|
object | Member-wise clone |