ReadFileAsync.AddToScene (Environment, Int32, Color) Method

NOTE: This member is now obsolete. Use the method that accepts the layer name instead.

Adds the entities loaded from the file to the scene.
Public Overridable Sub AddToScene( _ 
ByVal environment As Environment, _ 
ByVal layerIndex As Integer, _ 
ByVal color As Color
)
This language is not supported or no code example is available.
public virtual void AddToScene( 
Environment environment
int layerIndex
Color color 
)
This language is not supported or no code example is available.

Parameters

environment
Environment

The Viewport used to add entities

layerIndex
int

The destination layer index

color
Color

The color assigned to the entities in the model

.NET Framework

Supported in: 4.5, 4.6, 4.7

In this article

Definition