@twinfinity/core
    Preparing search index...

    Interface IfcGeometryBuilderCreateOptions

    Represents the options for creating an IfcGeometryBuilder.

    interface IfcGeometryBuilderCreateOptions {
        cullOnCameraMovePredicate?: (mesh: BimProductMesh) => boolean;
        loaderElements: IBimIfcLoaderElement[];
        predicate: (ifcProduct: BimIfcObject) => unknown;
        renderControl?: GeometryBuilderRenderControl;
    }

    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

    loaderElements: IBimIfcLoaderElement[]

    The IFC loader elements containing IFC products to create geometries from.

    predicate: (ifcProduct: BimIfcObject) => unknown

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

    Optional render control used by IfcGeometryBuilder.build to pause rendering during geometry creation and periodically render progress frames.