 |
CameraAxisPanel Constructor |
Constructor
Namespace: Ab4d.SharpEngine.OverlayPanelsAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.0.9196+3eba290aba85a9aa739abf2459bc51e303a050d7
Syntaxpublic 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