 |
CameraNavigationCircles(SceneView, ManualInputEventsManager, PositionTypes, Int32, NullableVector2, Boolean) Constructor |
Constructor
Namespace: Ab4d.SharpEngine.OverlayPanelsAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 5.0.1075+bc537c8d217949260b11f66ee86aefa6456ac517
Syntaxpublic CameraNavigationCircles(
SceneView parentSceneView,
ManualInputEventsManager? inputEventsManager,
PositionTypes alignment = PositionTypes.BottomLeft,
int size = 150,
Vector2? position = null,
bool isUsingSprites = false
)
Parameters
- parentSceneView SceneView
- SceneView that will show this CameraNavigationCircles as an overlay
- inputEventsManager ManualInputEventsManager
- ManualInputEventsManager that is used to subscribe to mouse events. When null, then CameraNavigationCircles will only show the orientation of the camera and will not respond to user input.
- alignment PositionTypes (Optional)
- Alignment of the panel relative to the parent SceneView. Default value is BottomLeft.
- size Int32 (Optional)
- optional size (width and height) of the panel (150 by default).
- position NullableVector2 (Optional)
- optional position offset of the panel (null by default).
- isUsingSprites Boolean (Optional)
- when true (false by default), then SpriteBatch is used to render this overlay panel. This requires waiting for the rendering to finish before the sprite can be drawn. When false, this overlay panel is rendered with the parentSceneView rendering process. This is much more efficient.
See Also