Sharp |
The SharpEngineSceneView type exposes the following members.
Name | Description | |
---|---|---|
ArrangeOverride | (Overrides Layoutable.ArrangeOverride(Size)) | |
Dispose | Disposes all resources that were created by this SharpEngineSceneView. | |
Dispose(Boolean) | ||
Finalize |
Destructor
(Overrides ObjectFinalize) | |
Initialize | Initialize method initializes the engine by using the CreateOptions from this SharpEngineSceneView. | |
Initialize(ActionEngineCreateOptions) | Initialize method initializes the engine by using EngineCreateOptions that are defined by the provided configureAction. | |
Initialize(EngineCreateOptions) | Initialize method initializes the engine by using the specified EngineCreateOptions. | |
Initialize(VulkanDevice) | Initialize method initializes the engine by using the specified VulkanDevice object. | |
IsDesignTime | Returns if the control is running in design time. | |
IsPresentationTypePossible | Returns true when the specified presentationType may be supported by this SharpEngineSceneView control. To check if the presentationType is possible on the current or specific GpuDevice call the IsPresentationTypeSupported(PresentationTypes) or IsPresentationTypeSupported(PresentationTypes, String) or IsPresentationTypeSupported(PresentationTypes, VulkanDevice, String) methods. | |
IsPresentationTypeSupported(PresentationTypes) | Returns true when the specified presentationType is supported on the current GpuDevice. This method must not be called before the GpuDevice is created (before SharpEngineSceneView is initialized). | |
IsPresentationTypeSupported(PresentationTypes, String) | Returns true when the specified presentationType is supported on the current GpuDevice. When presentation type is not supported, a string with additional information is set to the additionalInfo parameter. This method must not be called before the GpuDevice is created (before SharpEngineSceneView is initialized). | |
IsPresentationTypeSupported(PresentationTypes, VulkanDevice, String) | Returns true when the specified presentationType is supported on the specified GpuDevice. When presentation type is not supported, a string with additional information is set to the additionalInfo parameter. | |
OnAttachedToVisualTree | (Overrides Control.OnAttachedToVisualTree(VisualTreeAttachmentEventArgs)) | |
OnDetachedFromLogicalTree | (Overrides StyledElement.OnDetachedFromLogicalTree(LogicalTreeAttachmentEventArgs)) | |
OnDisposed | OnDisposed | |
OnDisposing | OnDisposing | |
OnGpuDeviceCreated | OnGpuDeviceCreated | |
OnGpuDeviceCreationFailed | OnGpuDeviceCreationFailed | |
OnPresentationTypeChanged | OnPresentationTypeChanged | |
OnSceneRendered | OnSceneRendered | |
OnSceneUpdating | OnSceneUpdating | |
OnSceneViewInitialized | OnSceneViewInitialized | |
OnViewSizeChanged | OnViewSizeChanged | |
Render |
Render method is called by Avalonia to render the content of this control.
To manually render the 3D scene call the RenderScene(Boolean, Boolean) method.
(Overrides Visual.Render(DrawingContext)) | |
RenderScene | RenderScene rendered the scene. If forceRender is false then the scene is rendered only if there are any changes in the scene nodes. If forceUpdate is true then the RenderingQueues are always regenerated (otherwise RenderingQueues are regenerated only when this is required because of the changes). | |
RenderToBitmap(Boolean) | RenderToBitmap method renders the current scene to a new Avalonia's WriteableBitmap. To reuse the WriteableBitmap, call the method that takes the WriteableBitmap by ref. See also the RenderToXXXX methods in the SceneView object. | |
RenderToBitmap(WriteableBitmap, Boolean) | RenderToBitmap method renders the current scene to the specified Avalonia's WriteableBitmap. If the WriteableBitmap is null of its size is not the same as the size of the SceneView, then the WriteableBitmap is resized. See also the RenderToXXXX methods in the SceneView object. | |
Update |