ReadOBJ(Stream, Stream, Dictionary<StringStream>, edgeStyleType) Constructor

Constructor with streams and edge style specifications.
Public Sub New( _ 
ByVal objStream As Stream, _ 
ByVal materialStream As Stream, _ 
ByVal texturesStream As Dictionary(Of String, Stream), _ 
ByVal edgeStyle As edgeStyleType
)
This language is not supported or no code example is available.
public ReadOBJ( 
Stream objStream
Stream materialStream
Dictionary<string, Stream> texturesStream
edgeStyleType edgeStyle 
)
This language is not supported or no code example is available.

Parameters

objStream
Stream

The file stream

materialStream
Stream

The stream of the material file

texturesStream
Dictionary<string, Stream>

The stream of the texture files. The key must be the filename of the texture without the path (e.g. myTexture1.bmp).

edgeStyle
edgeStyleType

The edge style type of the resulting meshes

Remarks
 
The closing of the stream is delegated to you.

.NET Framework

Supported in: 4.5, 4.6, 4.7

In this article

Definition