BIM.works SDKs - v3.0.0-b.115
    Preparing search index...

    Interface SectionPlanesState

    How section planes cut the model, SectionPlanes.getState and SectionPlanes.setState. Render frame, mm

    interface SectionPlanesState {
        box: { hidden?: StandardSectionPlane[]; max: vec3; min: vec3 } | null;
        planes: {
            coordinate: vec3;
            index: number;
            name?: string;
            normal: vec3;
            standard?: StandardSectionPlane | null;
            visible?: boolean;
        }[];
    }
    Index

    Properties

    Properties

    box: { hidden?: StandardSectionPlane[]; max: vec3; min: vec3 } | null

    The active section box of SectionPlanes.startSectionBox, null without one; hidden lists the faces that are not drawn (SectionPlane.setVisible), none when left out

    planes: {
        coordinate: vec3;
        index: number;
        name?: string;
        normal: vec3;
        standard?: StandardSectionPlane | null;
        visible?: boolean;
    }[]

    The enabled planes, oldest first, each in its slot (0..5): a point on the plane and its normal, which points to the side that is cut away, the name it is listed by (SectionPlane.getName), the standard plane it is (SectionPlane.getStandard) and whether it is drawn (SectionPlane.isVisible). getState gives every field; setState takes a plane without name, standard or visible (drawn)