Interface IMeshBuilderTMaterial

IMeshBuilder<TMaterial> interface

Represents an utility class to help build meshes by adding primitives associated with a given material.

public interface IMeshBuilder<TMaterial>
ParameterDescription
TMaterialThe material type used by this PrimitiveBuilder instance.

Properties

NameDescription
Extras { get; set; }Gets or sets the custom data of this object.
IsEmpty { get; }Gets a value indicating whether this mesh does not contain any geometry.
Materials { get; }Gets a collection of materials used by this mesh.
Name { get; set; }Gets or sets the display text name, or null.
Primitives { get; }Gets a collection of primitives used by this mesh.

Methods

NameDescription
Clone(Func<TMaterial, TMaterial>)
UseMorphTarget(int)
UsePrimitive(TMaterial, int)Creates, or uses an existing primitive using material.
Validate()

See Also