@twinfinity/core
    Preparing search index...

    Interface VertexDataMergeOptions

    Options for merging vertex data.

    interface VertexDataMergeOptions {
        cullOnCameraMove?: boolean;
        disableTransparencyAndMergeIdChecks?: boolean;
        includeNormals?: boolean;
        noTransformCache?: boolean;
    }
    Index

    Properties

    cullOnCameraMove?: boolean

    Specifies whether to cull the geometry when the camera moves.

    disableTransparencyAndMergeIdChecks?: boolean

    Specifies whether to disable transparency and merge ID checks.

    includeNormals?: boolean

    Specifies whether to include normals in the merged vertex data. Not including it speeds up the VertexDataMerge.merge operation. However calling VertexDataMerge.applyToMesh or VertexDataMerge.applyToGeometry will then not include the normals

    noTransformCache?: boolean

    Specifies whether to use the transform cache when writing vertex data. Defaults to true. When set to false, the transform cache will not be used to optimize vertex data writing. This can improve performance when merging large amounts of geometry. It does however increase memory usage since transforms are kept in cache until BimIfcLoaderElement.transformsRepository.clear is called.