Threepipe Geometry Generator Plugin
    Preparing search index...

    Class GeometryGeneratorPlugin

    GeometryGeneratorPlugin

    Geometry generator plugin to create updatable parametric objects/geometries. Includes support for several primitive types from three.js

    Hierarchy

    • AViewerPluginSync
      • GeometryGeneratorPlugin
    Index

    Constructors

    Properties

    _dirty: boolean = false
    _viewer?: ThreeViewer
    _viewerListeners: PartialRecord<IViewerEventTypes, (e: IViewerEvent) => void> = {}
    constructor: typeof AViewerPluginSync & typeof AViewerPlugin
    defaultGeometryClass: Class<
        IGeometry<NormalBufferAttributes, BufferGeometryEventMap>,
    > = BufferGeometry2
    defaultMaterialClass: Class<IMaterial<IMaterialEventMap>> = PhysicalMaterial
    defaultMeshClass: Class<
        IObject3D<
            IObject3DEventMap,
            undefined
            | IGeometry<NormalBufferAttributes, BufferGeometryEventMap>,
            undefined | IMaterial<IMaterialEventMap> | IMaterial<IMaterialEventMap>[],
        >,
    > = Mesh2
    enabled: boolean = true
    generators: IGeometryGeneratorMap = ...
    toJSON: any = undefined
    uiConfig: {
        children: (
            () => {
                label: string;
                type: string;
                uuid: string;
                value: () => Promise<void>;
            }[]
        )[];
        label: string;
        type: string;
    } = ...
    OldPluginType?: string
    PluginType: "GeometryGeneratorPlugin" = 'GeometryGeneratorPlugin'

    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>