@twinfinity/core
    Preparing search index...

    Interface GeometryBuilderOptions

    Options for GeometryBuilder.

    interface GeometryBuilderOptions {
        cullOnCameraMovePredicate?: (mesh: BimProductMesh) => boolean;
        predicate: (ifcProduct: BimIfcObject) => unknown;
    }

    Hierarchy (View Summary)

    Index

    Properties

    cullOnCameraMovePredicate?: (mesh: BimProductMesh) => boolean

    Predicate function used to decide which meshes can be culled when moving the camera.

    Type declaration

      • (mesh: BimProductMesh): boolean
      • Parameters

        • mesh: BimProductMesh

          IfcProductMesh that will get the cullOnCameraMove property set by this predicate.

        Returns boolean

        true if mesh should be able to be culled on camera move otherwise false

    predicate: (ifcProduct: BimIfcObject) => unknown

    The predicate function used to filter which BimIfcObject instances to include in the geometry creation.