ThreePipe
    Preparing search index...

    Class FragmentClippingExtensionPlugin

    FragmentClipping Materials Extension Adds a material extension to PhysicalMaterial to add support for fragment clipping. Fragment clipping allows to clip fragments of the material in screen space or world space based on a circle, rectangle, plane, sphere, etc. It uses fixed SDFs with params defined by the user for clipping. It also adds a UI to the material to edit the settings. It uses WEBGI_materials_fragment_clipping_extension glTF extension to save the settings in glTF files.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    _dirty: boolean = false
    _viewer?: ThreeViewer
    _viewerListeners: PartialRecord<IViewerEventTypes, (e: IViewerEvent) => void> = {}
    constructor: typeof AViewerPluginSync & typeof AViewerPlugin
    enabled: boolean = true
    materialExtension: MaterialExtension = ...
    uiConfig?: UiObjectConfig<any, string, any> = undefined
    FRAGMENT_CLIPPING_EXTENSION_GLTF_EXTENSION: "WEBGI_materials_fragment_clipping_extension" = 'WEBGI_materials_fragment_clipping_extension'

    use - use fragmentClippingGLTFExtension

    OldPluginType?: string
    PluginType: "FragmentClippingExtensionPlugin1" = 'FragmentClippingExtensionPlugin1'

    Accessors

    Methods