ThreePipe
    Preparing search index...

    Class GeometryGeneratorPlugin

    GeometryGeneratorPlugin

    Geometry generator plugin to create updatable parametric objects/geometries. Built-in generators: plane, sphere, box, circle, torus, cylinder, tube, shape, tubeShape, line.

    Additional generators (text) can be registered at runtime via the generators property or by using GeometryGeneratorExtrasPlugin from @threepipe/plugin-geometry-generator.

    Hierarchy (View Summary)

    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 = ...
    isViewerPluginSync: true = ...
    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