ScSelectionManager
-
class
ScSelectionManager()
Constructors
Methods
advanceIncrementalSelection()beginConvexPolyhedronSelection()beginRayDrillSelection()beginScreenAreaSelection()beginSphereSelection()compositePickFromScreen()endIncrementalSelection()getPickTolerance()pickAllFromRay()pickAllFromScreen()pickCompositeFromRay()pickFromRay()pickFromScreen()setPickTolerance()
Methods
advanceIncrementalSelection
-
ScSelectionManager.advanceIncrementalSelection(handle, allowForStreamIdle) Arguments: - handle (
IncrementalSelectionId()) – None - allowForStreamIdle (
boolean()) – None
Return type: Promise <[
SelectionItem()] | null>- handle (
beginConvexPolyhedronSelection
-
ScSelectionManager.beginConvexPolyhedronSelection(volumePlanes, heuristicOrigin, config) Arguments: - volumePlanes ([Plane]) – None
- heuristicOrigin (
Point3()) – None - config (
IncrementalPickConfig()) – None
Return type: Promise <
IncrementalSelectionId()>
beginRayDrillSelection
-
ScSelectionManager.beginRayDrillSelection(viewKey, rayCssOrigin, rayCssBoxRadius, config) Arguments: - viewKey (
ViewKey()) – None - rayCssOrigin (
Point2()) – None - rayCssBoxRadius (
number()) – None - config (
IncrementalPickConfig()) – None
Return type: Promise <
IncrementalSelectionId()>- viewKey (
beginScreenAreaSelection
-
ScSelectionManager.beginScreenAreaSelection(viewKey, areaCssMin, areaCssMax, config) Arguments: - viewKey (
ViewKey()) – None - areaCssMin (
Point2()) – None - areaCssMax (
Point2()) – None - config (
IncrementalPickConfig()) – None
Return type: Promise <
IncrementalSelectionId()>- viewKey (
beginSphereSelection
-
ScSelectionManager.beginSphereSelection(sphereCenter, sphereRadius, config) Arguments: - sphereCenter (Vector3) – None
- sphereRadius (
number()) – None - config (
IncrementalPickConfig()) – None
Return type: Promise <
IncrementalSelectionId()>
compositePickFromScreen
-
ScSelectionManager.compositePickFromScreen(viewKey, point, config, isDrawing) Arguments: - viewKey (
ViewKey()) – None - point (
Point2()) – None - config (
PickConfig()) – None - isDrawing (
boolean()) – None
Return type: Promise <
CompositeSelectionItem()>- viewKey (
endIncrementalSelection
-
ScSelectionManager.endIncrementalSelection(handle) Arguments: - handle (
IncrementalSelectionId()) – None
Return type: void
- handle (
pickAllFromRay
-
ScSelectionManager.pickAllFromRay(ray, config) Arguments: - ray (
Ray()) – None - config (
PickConfig()) – None
Return type: Promise <[
NodeEntitySelectionItem()]>- ray (
pickAllFromScreen
-
ScSelectionManager.pickAllFromScreen(viewKey, point, config, isDrawing) Arguments: - viewKey (
ViewKey()) – None - point (
Point2()) – None - config (
PickConfig()) – None - isDrawing (
boolean()) – None
Return type: Promise <[
NodeEntitySelectionItem()]>- viewKey (
pickCompositeFromRay
-
ScSelectionManager.pickCompositeFromRay(ray, config) Arguments: - ray (
Ray()) – None - config (
PickConfig()) – None
Return type: Promise <
CompositeSelectionItem()>- ray (
pickFromRay
-
ScSelectionManager.pickFromRay(ray, config) Arguments: - ray (
Ray()) – None - config (
PickConfig()) – None
Return type: Promise <
NodeEntitySelectionItem()| null>- ray (
pickFromScreen
-
ScSelectionManager.pickFromScreen(viewKey, point, config, isDrawing) Arguments: - viewKey (
ViewKey()) – None - point (
Point2()) – None - config (
PickConfig()) – None - isDrawing (
boolean()) – None
Return type: Promise <
NodeEntitySelectionItem()| null>- viewKey (