FrustumDecorator Class

Decorates the viewport with a graphical depiction of a Frustum. This is obviously only useful when drawn inside a viewport using a different Frustum. Options for doing so include:

  • Having more than one viewport, and drawing the frustum of one viewport inside the other viewports; and
  • Allowing the user to take a snapshot of the current frustum, then navigate the view to inspect it within the same viewport. @beta



Name Description
decorate(context: DecorateContext): void    
disable(): void Static Remove the decoration from the specified viewport.  
enable(vp: Viewport): void Static Add the decoration to the specified viewport.  


Name Type Description
isEnabled Accessor StaticReadOnly boolean    

Defined in

Last Updated: 08 January, 2020