Constructors
Properties
- allow
Faces - allow
Lines - allow
Points - bim
Mask - enable
Proximity Faces - force
Effective Scene Visibility Mask - force
Effective Visibility Mask - ignore
Capping Geometry - ignore
Overlays - max
World Distance - one
Entity Per Type Per Instance - rejection
Bits All - rejection
Bits Any - required
Bits All - required
Bits Any - respect
Depth Range - respect
Visibility - restrict
Lines And Points ToSelected Face Instances - restrict
ToOverlays - selection
Mask
Methods
Constructors
constructor
-
Parameters
-
Optional selectionMask: SelectionMask
Returns PickConfig
-
Properties
allowFaces
allowLines
allowPoints
Optional bimMask
If set, selection will be restricted to geometry of the specified BIM types.
enableProximityFaces
If true, faces can be selected by proximity (like lines and points). This option is only relevant for screen selection.
forceEffectiveSceneVisibilityMask
For each element type bit in this mask, if the bit is on, then scene visibility is treated as if that element type is visible during selection.
forceEffectiveVisibilityMask
For each element type bit in this mask, if the bit is on, then scene visibility and geometry visibility are treated as if that element type is visible during selection.
ignoreCappingGeometry
Configures whether or not capping geometry is ignored when computing selection results.
ignoreOverlays
If true, selection will not process geometry contained in overlays. This option is only relevant for screen selection.
Optional maxWorldDistance
If supplied, this is the maximum distance in world-space along the selection ray that can be used to select any geometry.
If this value is negative, it is ignored.
This parameter is incompatible with line and point selection.
oneEntityPerTypePerInstance
If true, then only one entity per entity type can be returned per instance.
For example, consider a cube made from a single mesh instance, where each face is a different face entity and backfaces culling is disabled. If this option is true, then at most one face from the cube can be selected. If false, then multiple faces from the cube can be selected. (This can occur when selecting from the front of the cube and then obtaining the face behind the front face in addition to the front face.)
Optional rejectionBitsAll
(8 bits) If rejectionBitsAll are supplied, a mesh cannot be selected if its selection bits have all the ones supplied.
Optional rejectionBitsAny
(8 bits) If rejectionBitsAny are supplied, a mesh cannot be selected if its selection bits have any of the ones supplied.
Optional requiredBitsAll
(8 bits) If requiredBitsAll are supplied, a mesh can only be selected if its selection bits have all the ones supplied.
Optional requiredBitsAny
(8 bits) If requiredBitsAny are supplied, a mesh can only be selected if its selection bits have any of the ones supplied.
respectDepthRange
Configures whether or not depth range is respected when performing a selection. This option is only relevant for screen selection.
respectVisibility
Configures whether or not visibility is respected when performing a selection.
restrictLinesAndPointsToSelectedFaceInstances
Configures whether or not line and point selection is restricted to instances that get selected by face. This is only a heuristic and may be ignored. This option is only relevant for screen selection.
restrictToOverlays
If true, selection is performed only within overlays. This option is only relevant for screen selection.
selectionMask
Configures what types of entities are considered for selection.
Methods
copy
-
Returns a copy of this PickConfig.
Returns PickConfig
Configuration for all pick functions in the View class.