Eyeshot 10 WinForms API Reference
AddToScene(ViewportLayout,Int32,Color) Method

WinForms Assembly > devDept.Eyeshot.Translators Namespace > ReadFileAsyncWithBlocks Class > AddToScene Method : AddToScene(ViewportLayout,Int32,Color) Method
The Viewport used to add entities
The destination layer index
The color assigned to the entities in the model
Adds the entities loaded from the file to the scene.
Syntax
'Declaration
 
Public Overloads Overrides Sub AddToScene( _
   ByVal viewportLayout As ViewportLayout, _
   ByVal layerIndex As Integer, _
   ByVal color As Color _
) 
public override void AddToScene( 
   ViewportLayout viewportLayout,
   int layerIndex,
   Color color
)

Parameters

viewportLayout
The Viewport used to add entities
layerIndex
The destination layer index
color
The color assigned to the entities in the model
See Also

Reference

ReadFileAsyncWithBlocks Class
ReadFileAsyncWithBlocks Members
Overload List