Initialize the default lighting in a Viewport3D

Namespace: Ico.Windows.Media.Media3D
Assembly: Ico3DControlsLibrary (in Ico3DControlsLibrary.dll) Version: 10.97.212.0 (10.97.212.00)

Syntax

C#
public static DirectionalLight InitializeLightsAndCamera(
	Viewport3D viewport
)
Visual Basic
Public Shared Function InitializeLightsAndCamera ( _
	viewport As Viewport3D _
) As DirectionalLight
JScript
public static function InitializeLightsAndCamera(
	viewport : Viewport3D
) : DirectionalLight

Parameters

viewport
Type: System.Windows.Controls..::..Viewport3D
the Viewport3D to initialize

Return Value

the DirectionalLight created during the initialization of the lights group

See Also