Creates a new XMaterialMesh mesh from 3DS file.

Namespace:  SGP.XSpace
Assembly:  SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825

Syntax

C#
[EditorBrowsableAttribute(EditorBrowsableState.Advanced)]
public static XMaterialMesh CreateMeshFrom3ds(
	BinaryReader reader,
	string sourceDirectory
)

Parameters

reader
Type: System.IO..::.BinaryReader
The data source.
sourceDirectory
Type: System..::.String
The initial texture directory.

Return Value

Returns the created XMaterialMesh mesh.

Exceptions

ExceptionCondition
System..::.ArgumentNullException reader is nullNothingnullptra null reference (Nothing in Visual Basic).

See Also