WebGi Rendering Plugins
    Preparing search index...

    Class SSContactShadowsPlugin

    SS Contact Shadows Plugin Adds a material extension to PhysicalMaterial screen space ray traced contact shadows. It also adds a UI to the material to edit the settings. todo - remove It uses WEBGI_materials_clearcoat_tint glTF extension to save the settings in glTF files.

    Hierarchy

    • AViewerPluginSync
      • SSContactShadowsPlugin
    Index

    Constructors

    Properties

    _dirty: boolean = false
    _viewer?: ThreeViewer
    _viewerListeners: PartialRecord<IViewerEventTypes, (e: IViewerEvent) => void> = {}
    constructor: typeof AViewerPluginSync & typeof AViewerPlugin
    dependencies: typeof GBufferPlugin[] = ...
    enabled: boolean = true
    intensity: number = 1
    isViewerPluginSync: true = ...
    materialExtension: MaterialExtension = ...
    onlySSCSDebug: boolean = false
    radius: number = 0.015
    stepCount: number = 2
    tolerance: number = 1.5
    uiConfig?: UiObjectConfig<any, string, any> = undefined
    OldPluginType: "SSContactShadowsPlugin" = 'SSContactShadowsPlugin'
    PluginType: "SSContactShadows" = 'SSContactShadows'

    Accessors

    Methods

    • Parameters

      • e: IViewerEvent

      Returns IViewerEvent

    • Parameters

      • Optionalprefix: string

      Returns string

    • Parameters

      • key: any
      • setDirty: boolean = true

      Returns void

    • Parameters

      • key: any
      • setDirty: boolean = true

      Returns void

    • Returns ISerializedConfig | Record<string, never>

    • Parameters

      • state: any

      Returns Promise<void>

    • Parameters

      • Optionalmeta: SerializationMetaType

      Returns ISerializedConfig