Class ObjReader.Group
- Namespace
- HelixToolkit.Wpf
- Assembly
- HelixToolkit.Wpf.dll
Represents a group in the obj file.
public sealed class ObjReader.Group
- Inheritance
-
ObjReader.Group
- Inherited Members
Constructors
Group(string, Material)
Initializes a new instance of the ObjReader.Group class.
public Group(string name, Material material)
Parameters
Properties
Material
Sets the material.
public Material Material { set; }
Property Value
- Material
The material.
MeshBuilder
Gets the mesh builder for the current mesh.
public MeshBuilder MeshBuilder { get; }
Property Value
- MeshBuilder
The mesh builder.
Name
Gets or sets the group name.
public string Name { get; set; }
Property Value
- string
The name.
Methods
AddMesh(Material)
Adds a mesh.
public void AddMesh(Material material)
Parameters
materialMaterialThe material of the group.
CreateModels()
Creates the models of the group.
public IEnumerable<Model3D> CreateModels()
Returns
- IEnumerable<Model3D>
The models.