Table of Contents

Interface IHelixViewport3D

Namespace
HelixToolkit.Wpf
Assembly
HelixToolkit.Wpf.dll

Interface for 3D viewports.

public interface IHelixViewport3D

Properties

Camera

Gets the camera.

ProjectionCamera? Camera { get; }

Property Value

ProjectionCamera

The camera.

CameraController

Gets the camera controller.

CameraController? CameraController { get; }

Property Value

CameraController

The camera controller.

Lights

Gets the lights.

Model3DGroup? Lights { get; }

Property Value

Model3DGroup

The lights.

Viewport

Gets the viewport.

Viewport3D? Viewport { get; }

Property Value

Viewport3D

The viewport.

Methods

Copy()

Copies the view to the clipboard.

void Copy()

CopyXaml()

Copies the view to the clipboard as xaml.

void CopyXaml()

Export(string)

Exports the view to the specified file name.

void Export(string fileName)

Parameters

fileName string

Name of the file.

ZoomExtents(double)

Zooms to extents.

void ZoomExtents(double animationTime)

Parameters

animationTime double

The animation time.