Can the real scene content be partially blocked? #1400
-
Hi, When displaying the real scene, I want to use the mouse to drag a rectangular box, and then the real scene in the rectangular box will not be displayed. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
When your question is "how can I do X", a good way to find an answer is to browse the sample showcase for a sample that does something similar and look up the docs for the APIs used by that sample. You are asking to clip the view. You can probably trivially modify or extend the ViewClipByShapeTool. If you need an example of how to use mouse drag to define and draw a rectangle, here's one. |
Beta Was this translation helpful? Give feedback.
When your question is "how can I do X", a good way to find an answer is to browse the sample showcase for a sample that does something similar and look up the docs for the APIs used by that sample.
You are asking to clip the view. You can probably trivially modify or extend the ViewClipByShapeTool.
If you need an example of how to use mouse drag to define and draw a rectangle, here's one.