Click or drag to resize
Ab4d.SharpEngine logo

CameraControllerCustomRotationCenterPositionProvider Field

CustomRotationCenterPositionProvider is a Func that can be set to provide custom logic to get rotation center point and the zoom center point. The Func takes pointerPosition (Vector2) as the first parameter and calculatePositionWhenNoObjectIsHit (bool) as the second parameter. It can return null when no 3D object is hit and calculatePositionWhenNoObjectIsHit is false.

Namespace: Ab4d.SharpEngine.Utilities
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 4.1.9680+a1b1e43de1ad9a7e35472c33948d688d7b40ef79
Syntax
C#
public Func<Vector2, bool, Vector3?>? CustomRotationCenterPositionProvider

Field Value

FuncVector2, Boolean, NullableVector3
See Also