WriteWebGL(WriteParamsWithMaterials, Material, Stream, Nullable<Color>, String) Constructor

Standard constructor with document, default material and stream.
Public Sub New( _ 
ByVal writeParams As WriteParamsWithMaterials, _ 
ByVal defaultMaterial As Material, _ 
ByVal stream As Stream, _ 
Optional ByVal htmlBodyColor As Nullable(Of Color) = null, _ 
Optional ByVal htmlTemplate As String = null _ 
)
This language is not supported or no code example is available.
public WriteWebGL( 
WriteParamsWithMaterials writeParams
Material defaultMaterial
Stream stream
Nullable<Color> htmlBodyColor = null, 
string htmlTemplate = null 
)
This language is not supported or no code example is available.

Parameters

writeParams
WriteParamsWithMaterials

The WriteParamsWithMaterials

defaultMaterial
Material

The default material.

stream
Stream

The file stream.

htmlBodyColor
Nullable<Color>

The Color for the HTML body. It can be null/Nothing.

htmlTemplate
string

A string representing the HTML template for the output. It must contain both EyeshotGeometry and EyeshotScripts html comment tags to work properly.

Remarks
 
The _htmlBodyColor will add the bgcolor attribute but it may not work when you use a custom _htmlTemplate.
Example
 
... <!-- EyeshotGeometry --> ...

.NET Framework

Supported in: 4.5, 4.6, 4.7

In this article

Definition