Overlay | |
The OverlayPanelBase type exposes the following members.
| Name | Description | |
|---|---|---|
| Dispose | Disposes the resources | |
| Dispose(Boolean) |
Releases unmanaged and managed resources (when disposing is true).
This method may be called only from the CheckAndDispose(Boolean) method and must not be called manually by the user.
(Overrides ComponentBaseDispose(Boolean)) | |
| GetPanelViewport | Gets the position and size of this overlay panel in the parentSceneView. | |
| GetPanelViewport(Boolean, Boolean) | Gets the position and size of this overlay panel in the parentSceneView. | |
| GetSceneViewSize | ||
| NotifyOverlayPanelChanged | Sets OverlayPanelChanged dirty flag in the ParentSceneView. This will request another frame rendering with another recording of command buffers. | |
| NotifyOverlayPanelUpdated | Sets OverlayPanelUpdated dirty flag in the ParentSceneView. This will request another frame rendering without another recording of command buffers. | |
| NotifySizeOrPositionChanged | Sets OverlayPanelChanged dirty flag in the ParentSceneView and also update the size in the next render pass. | |
| OnCameraChanged | ||
| OnCreateCamera | OnCreateCamera method can be overridden in a derived class to create a custom camera. This method by default creates a TargetPositionCamera with Heading and Attitude set to 0 and Distance and ViewWidth to 100. | |
| OnCreateLights | OnCreateLights method can be overridden to provide custom lights in the scene. If the method is called, then a 30% ambient light is set. | |
| OnCreateScene | OnCreateScene method can be overriden in the derived class to create the 3D objects that are rendered by this overlay panel. To use async method the derived class can also override OnCreateSceneAsync(Scene) method. | |
| OnCreateSceneAsync | OnCreateSceneAsync method can be overriden in the derived class to create the 3D objects that are rendered by this overlay panel. To use async method the derived class can also override OnCreateSceneAsync(Scene) method. | |
| OnInitializeDeviceResources | Initializes resources with the specified GpuDevice. This method can be overriden and is called from InitializeDeviceResources(VulkanDevice) method. | |
| SetAlignment | Sets the Alignment value. | |
| SetBackgroundColor | Sets the BackgroundColor value. | |
| SetHeight | Sets the Height value. | |
| SetPosition | Sets the Position value. | |
| SetWidth | Sets the Width value. | |
| SubscribeCameraChanged | ||
| UnsubscribeCameraChanged | ||
| Update | ||
| Update(SceneDirtyFlags, SceneViewDirtyFlags) | Updates common panel state. Derived classes can override this method to update scene objects or the overlay camera. |