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

In This Topic
    AddToScene(ViewportLayout,String,Color) Method
    In This Topic
    Adds the entities and materials loaded from the file to the scene.
    Syntax
    'Declaration
     
    Public Overloads Overrides Sub AddToScene( _
       ByVal viewportLayout As ViewportLayout, _
       ByVal layerName As String, _
       ByVal color As Color _
    ) 
    public override void AddToScene( 
       ViewportLayout viewportLayout,
       string layerName,
       Color color
    )

    Parameters

    viewportLayout
    The Viewport used to add entities and materials
    layerName
    The destination layer name
    color
    The color assigned to the entities in the model
    See Also