Click or drag to resize
Reader3dsRead Method (String, Viewport3D, Int32)

Note: This API is now obsolete.

This method is obsolete - use ReadFile(String, Viewport3D, Int32) instead.

Namespace: Ab3d
Assembly: Ab3d.Reader3ds (in Ab3d.Reader3ds.dll) Version: 9.0.5590.1040
Syntax
C#
[ObsoleteAttribute("This method is obsolete - use Ab3d.Reader3ds.ReadFile instead")]
public static Model3DGroup Read(
	string fileName,
	Viewport3D viewport,
	int cameraIndex
)

Parameters

fileName
Type: SystemString
3ds fileName
viewport
Type: System.Windows.ControlsViewport3D
viewport to add the models to
cameraIndex
Type: SystemInt32
if 0 or greater set the camera in Viewport3D to the camera with index from 3ds file; if -1 do not set the camera

Return Value

Type: Model3DGroup
returns the read Model3DGroup
See Also