Click or drag to resize
Ab4d.SharpEngine logo

MouseCameraController(SharpEngineSceneView, IInputElement) Constructor

Constructor that takes SharpEngineSceneView and an optional IInputElement as events source. If later is not specified, then SharpEngineSceneView is used as events source.

Namespace: Ab4d.SharpEngine.AvaloniaUI
Assembly: Ab4d.SharpEngine.AvaloniaUI (in Ab4d.SharpEngine.AvaloniaUI.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax
C#
public MouseCameraController(
	SharpEngineSceneView sharpEngineSceneView,
	IInputElement? eventsSourceElement = null
)

Parameters

sharpEngineSceneView  SharpEngineSceneView
SharpEngineSceneView
eventsSourceElement  IInputElement  (Optional)
optional Avalonia's IInputElement that is used to subscribe pointer or mouse events
See Also