Methods
Clipping Plane

setPlaneWidgetViewport

Sets the position and size of the clipping plane widget.

Example



Usage

JS


Parameters

viewport

Position and size of the clipping plane widget.

Type

Required

Object

Yes

Properties

Name

Type

Required

Description

height

Number

Yes

Height of the widget in pixels

width

Number

Yes

Width of the widget in pixels

x

Number

Yes

X coordinate of the widget position in pixels

y

Number

Yes

Y coordinate of the widget position in pixels