ContentViewManager Class
Content View Manager class.
Methods
| Name | Description | |
|---|---|---|
| contentSupportsCamera(content: ContentControl | undefined): boolean Static | Determines if viewport supports use of a camera. | |
| getActiveContent(): React.ReactNode | undefined Static | Gets the active content as a React.ReactNode. | |
| getActiveContentControl(): ContentControl | undefined Static | Return the active ContentControl. | |
| isContent3dView(content: ContentControl | undefined): boolean Static | Determines if content displays a 3d view. | |
| isContentDrawingView(content: ContentControl | undefined): boolean Static | Determines if content displays a Drawing view. | |
| isContentOrthographicView(content: ContentControl | undefined): boolean Static | Determines if content displays a Orthographic view. | |
| isContentSheetView(content: ContentControl | undefined): boolean Static | Determines if content displays a Sheet view. | |
| isContentSpatialView(content: ContentControl | undefined): boolean Static | Determines if content displays a Spatial view. | |
| refreshActiveContent(activeContent: React.ReactNode): void Static | Refreshes the active ContentControl | |
| setActiveContent(activeContent?: React.ReactNode, forceEventProcessing: boolean = false): void Static | Sets the active ContentControl | |
| setMouseDown(mouseDown: boolean): void Static | Sets the mouse down status for a content view |
Properties
| Name | Type | Description | |
|---|---|---|---|
| isMouseDown Accessor StaticReadOnly | boolean | Determines if the mouse is down in a content view | |
| onActiveContentChangedEvent Static | ActiveContentChangedEvent | Gets the ActiveContentChangedEvent | |
| onMouseDownChangedEvent Static | MouseDownChangedEvent | Gets the MouseDownChangedEvent |
Defined in
Last Updated: 08 January, 2020