SVG rendering of 3d objects using SVGRenderer from three/addons

Hierarchy

  • AViewerPluginSync<"">
    • BasicSVGRendererPlugin

Constructors

Properties

_dirty: boolean = false
_lastStyles?: string = undefined
_viewer?: ThreeViewer
_viewerListeners: {
    postRender: ((_) => void);
} = ...

Type declaration

  • postRender: ((_) => void)
      • (_): void
      • Parameters

        • _: IViewerEvent

        Returns void

autoAddToContainer: boolean = true

automatically add the svg to the viewer container and style it same as the viewer is position is absolute

autoRender: boolean = true
constructor: typeof AViewerPluginSync & typeof AViewerPlugin
enabled: boolean = true
renderer: BasicSVGRenderer = ...
uiConfig?: UiObjectConfig<any, string, any> = undefined
OldPluginType?: string
PluginType: "BasicSVGRendererPlugin" = 'BasicSVGRendererPlugin'

Accessors

Methods

  • Parameters

    • e: IViewerEvent

    Returns IViewerEvent

  • Parameters

    • Optional prefix: string

    Returns string

  • Returns ISerializedConfig | Record<string, never>

  • Parameters

    • state: any

    Returns Promise<void>

  • Parameters

    • Optional meta: SerializationMetaType

    Returns ISerializedConfig

Generated using TypeDoc