Click or drag to resize
Ab4d.SharpEngine logo

CameraNavigationCircles(ManualInputEventsManager, PositionTypes, Int32, NullableVector2, Boolean) Constructor

Constructor

Namespace: Ab4d.SharpEngine.OverlayPanels
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 5.0.1075+bc537c8d217949260b11f66ee86aefa6456ac517
Syntax
C#
public CameraNavigationCircles(
	ManualInputEventsManager inputEventsManager,
	PositionTypes alignment = PositionTypes.BottomLeft,
	int size = 150,
	Vector2? position = null,
	bool isUsingSprites = false
)

Parameters

inputEventsManager  ManualInputEventsManager
ManualInputEventsManager that is used to subscribe to mouse events. This parameter cannot be null because it is required to get the SceneView object.
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