Skip to content

Commit 9cb9de7

Browse files
committed
fix(Viewport): addActor2D typing
1 parent cd47e2e commit 9cb9de7

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Sources/Rendering/Core/Viewport/index.d.ts

+3-2
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,10 @@ export interface IViewportInitialValues {
1818
export interface vtkViewport extends vtkObject {
1919

2020
/**
21-
* Not Implemented yet
21+
* Adds a 2D actor to the scene.
22+
* @param prop
2223
*/
23-
addActor2D(): any;
24+
addActor2D(prop: vtkActor2D): void;
2425

2526
/**
2627
* Add a prop to the list of props.

0 commit comments

Comments
 (0)