|
CameraAxisPanel Constructor |
Constructor
Namespace: Ab4d.SharpEngine.OverlayPanelsAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax public CameraAxisPanel(
SceneView parentSceneView,
ICamera? camera = null,
int width = 100,
int height = 100,
bool adjustSizeByDpiScale = true,
PositionTypes alignment = PositionTypes.TopLeft
)
Parameters
- parentSceneView SceneView
- SceneView that will show this CameraAxisPanel as an overlay
- camera ICamera (Optional)
- optional camera; when null (by default) than the current camera from parentSceneView is used
- width Int32 (Optional)
- optional width of the panel (100 by default). This value can be multiplied by dpi scale of the parent SceneView (when adjustSizeByDpiScale is true - by default)
- height Int32 (Optional)
- optional height of the panel (100 by default). This value can be multiplied by dpi scale of the parent SceneView (when adjustSizeByDpiScale is true - by default)
- adjustSizeByDpiScale Boolean (Optional)
- when true (by default) then the width and height are multiplied by dpi scale of the parent SceneView
- alignment PositionTypes (Optional)
- Alignment of the panel relative to the parent SceneView. Default value is TopLeft.
See Also