Click or drag to resize
Ab4d.SharpEngine logo

SharpEngineSceneView Properties

The SharpEngineSceneView type exposes the following members.

Properties
 NameDescription
Public propertyBackgroundColor Gets or sets a background color for SharpEngineSceneView. Default color is White. Note that when using SharedTexture as PresentationType and when UseSwapChainPanelForSharedTexture is true (by default), then Transparent color cannot be used as BackgroundColor.
Public propertyCreateOptions Gets the EngineCreateOptions that were used to create the VulkanInstance and VulkanDevice.
Public propertyDpiScaleX Gets or sets a float that represents a DPI scale factor in X direction: 1 means 96 DPI, 1.5 means 144 DPI, etc. This value is used in line and pixel rendering and scales the line thickness or size of pixels.
Public propertyDpiScaleY Gets or sets a float that represents a DPI scale factor in Y direction: 1 means 96 DPI, 1.5 means 144 DPI, etc. This value is used in line and pixel rendering and scales the line thickness or size of pixels.
Public propertyGpuDevice Gets the graphics device object (VulkanDevice).
Public propertyId Gets a unique id of this resource
Public propertyIsDisposed Gets a Boolean that specifies if this resource has been disposed.
Public propertyIsDisposing Gets a Boolean that specifies if this resource is currently being disposed (the current code is executing inside Dispose method).
Public propertyIsVisible 
Public propertyPreferredMultiSampleCount PreferredMultiSampleCount can be set before the SceneView is initialized and defines the multi-sampling count (MSAA) that will be used if supported by the device. After initializing the SceneView, the actually used multi-sampling count is set to the UsedMultiSampleCount property.
Public propertyPresentationType Presentation type defines how the rendered 3D scene will be presented to the platform. Default value is SharedTexture.
Public propertyScene Gets the Scene that defines the 3D objects.
Public propertySceneView Gets the SceneView that renders the Scene to this control.
Public propertyStopRenderingWhenHidden Gets or sets a Boolean that specifies if rendering is stopped when this control is hidden (IsVisible goes to false). Default value is true.
Public propertyUseInverseDpiScaleOnSwapChainPanel When true, then the scale of the SwapChainPanel is set so that the SwapChainPanel correctly shows the content of the SceneView (otherwise only the top-left part of the whole scene is shown - the size depends on the screen's DPI settings). This is required to fix a bug in a SwapChainPanel. Default value is true.
Public propertyUseSwapChainPanelForSharedTexture When true (by default) then WinUI's SwapChainPanel is used for SharedTexturePresentationType. When false, then WinUI's SurfaceImageSource is used. See Remarks for more info.
Public propertyWaitForVSync Gets or sets a Boolean that specifies if the SceneView is waiting for a v-sync provided by the surface. This property is used only when OverlayTexture is used as a PresentationType.
Top
See Also