Eyeshot 11 WinForms API Reference
WinForms Assembly / devDept.Eyeshot.Translators Namespace / ReadFile Class / AddToScene Method / AddToScene(ViewportLayout,Int32,Color) Method
The Viewport used to add entities and materials
The destination layer index
The color assigned to the entities in the model

In This Topic
    AddToScene(ViewportLayout,Int32,Color) Method
    In This Topic
    Adds entities and materials, read from the Eyeshot file, to the Viewport.
    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 and materials
    layerIndex
    The destination layer index
    color
    The color assigned to the entities in the model
    See Also