Class SSAAPlugin

SSAA Plugin

Jitters the render camera and optionally other cameras in the scene to create a super-sampled anti-aliasing effect. This is done across multiple frames by integrating with the ProgressivePlugin

Hierarchy (view full)

Constructors

Properties

_dirty: boolean = false
_hasSetOffsetLC: boolean = false
_hasSetOffsetRC: boolean = false
_viewer?: ThreeViewer
_viewerListeners: PartialRecord<"update" | "dispose" | "preRender" | "postRender" | "preFrame" | "postFrame" | "*" | "addPlugin" | "removePlugin" | "renderEnabled" | "renderDisabled", ((e) => void)> = {}

Type declaration

constructor: typeof AViewerPluginSync & typeof AViewerPlugin
dependencies: typeof ProgressivePlugin[] = ...
enabled: boolean = true
jitterLightCameras: boolean = true
jitterOffsets: {
    x: number;
    y: number;
}[] = ...

Type declaration

  • x: number
  • y: number
jitterRenderCamera: boolean = true
rendersPerFrame: number = 1
trackedJitterCameras: Set<[TCamera, {
    height: number;
    width: number;
}]> = ...
uiConfig?: UiObjectConfig<any, string, any> = undefined
OldPluginType?: string
PluginType: "SSAAPlugin" = 'SSAAPlugin'

Accessors

Methods

  • Parameters

    • camera: TCamera
    • size: {
          height: number;
          width: number;
      }
      • height: number
      • width: number
    • frameCount: number

    Returns void

Generated using TypeDoc