PickConfig
- class Communicator.PickConfig()
Configuration for all pick functions in the View class.
Constructors
Properties
Methods
Constructors
Properties
- Communicator.PickConfig.allowFaces
- Communicator.PickConfig.allowLines
- Communicator.PickConfig.allowPoints
- Communicator.PickConfig.bimMask
If set, selection will be restricted to geometry of the specified BIM types.
- Communicator.PickConfig.enableProximityFaces
If true, faces can be selected by proximity (like lines and points). This option is only relevant for screen selection.
- Communicator.PickConfig.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.
- Communicator.PickConfig.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.
- Communicator.PickConfig.ignoreCappingGeometry
Configures whether or not capping geometry is ignored when computing selection results.
- Communicator.PickConfig.ignoreOverlays
If true, selection will not process geometry contained in overlays. This option is only relevant for screen selection.
- Communicator.PickConfig.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.
- Communicator.PickConfig.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.)
- Communicator.PickConfig.rejectionBitsAll
(8 bits) If rejectionBitsAll are supplied, a mesh cannot be selected if its selection bits have all the ones supplied.
- Communicator.PickConfig.rejectionBitsAny
(8 bits) If rejectionBitsAny are supplied, a mesh cannot be selected if its selection bits have any of the ones supplied.
- Communicator.PickConfig.requiredBitsAll
(8 bits) If requiredBitsAll are supplied, a mesh can only be selected if its selection bits have all the ones supplied.
- Communicator.PickConfig.requiredBitsAny
(8 bits) If requiredBitsAny are supplied, a mesh can only be selected if its selection bits have any of the ones supplied.
- Communicator.PickConfig.respectDepthRange
Configures whether or not depth range is respected when performing a selection. This option is only relevant for screen selection.
- Communicator.PickConfig.respectVisibility
Configures whether or not visibility is respected when performing a selection.
- Communicator.PickConfig.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.
- Communicator.PickConfig.restrictToOverlays
If true, selection is performed only within overlays. This option is only relevant for screen selection.
- Communicator.PickConfig.selectionMask
Configures what types of entities are considered for selection.