Table of Contents

Class ObjReader.Group

Namespace
HelixToolkit.SharpDX
Assembly
HelixToolkit.SharpDX.dll

Represents a group in the obj file.

public class ObjReader.Group
Inheritance
ObjReader.Group
Inherited Members

Constructors

Group(string)

Initializes a new instance of the ObjReader.Group class.

public Group(string name)

Parameters

name string

The name of the group.

Properties

Material

Sets the material.

public PhongMaterialCore Material { set; }

Property Value

PhongMaterialCore

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.

VertexColors

public Color4Collection VertexColors { get; }

Property Value

Color4Collection

Methods

AddMesh()

Adds a mesh.

public void AddMesh()

CreateModels(ModelInfo)

Creates the models of the group.

public IEnumerable<Object3D> CreateModels(ModelInfo info)

Parameters

info ModelInfo

Returns

IEnumerable<Object3D>

The models.