IGraphics

Exposes graphics features.

Declaration Syntax

public interface IGraphics

Table 921:  Members

Property

Camera

Gets the camera.

Property

Scene

Gets the scene.

Property

Unit

Gets the current graphics unit.

Method

CreatePixelPoint(int, int)

Creates a point from pixel coordinates (ie. window coordinates).

Method

CreateVector3D(double, double, double)

Create a 3D vector from world coordinates.

Method

CreateWorldPoint(double, double, double)

Create a point from world coordinates.

Method

ExportScreenToImage(string)

Exports the current Graphics screen to a file.

Method

ForceResume()

Forces the scene to resume. Useful in interactive context (console) if a reference on an operation has been lost.

Method

Redraw()

Forces the scene to redraw its content.

Method

Suspend()

Prevents the scene to redraw until the Resume controller method was called.



Release 18.2 - © ANSYS, Inc. All rights reserved.