Camera |
The CameraController type exposes the following members.
Name | Description | |
---|---|---|
CapturePointer | protected virtual CapturePointer | |
ChangeCameraDistance | ChangeCameraDistance method change the distance of the TargetCamera by multiplying it by the changeFactor. When RotationCenterPosition is set in the TargetPositionCamera or FreeCamera, then we zoom into the specified RotationCenterPosition (if this is not disabled by setting the zoomToRotationCenterPosition parameters to false). | |
CubicEaseOut | Simple cubic easing function used to decelerate the rotation: y = (x - 1) * (x - 1) * (x - 1) + 1x | |
EndCameraMovement | protected EndCameraMovement | |
EndCameraQuickZoom | EndCameraQuickZoom | |
EndCameraRotation | protected EndCameraRotation | |
EndPointerProcessing | EndPointerProcessing is called when the pointer or mouse button that started rotation or movement is released. | |
GetCameraMoveAdjustment | protected virtual GetCameraMoveAdjustment | |
GetCameraRotationCenterPosition | protected GetCameraRotationCenterPosition | |
GetRotationCenterPositionFromPointerPosition | GetRotationCenterPositionFromPointerPosition methods returns a nullable Vector3 that is get by 3D hit testing of specified pointerPosition with the 3D objects. If no 3D object is hit and calculatePositionWhenNoObjectIsHit parameter is set to true, then the returned Vector3 is calculated by creating a ray from pointer position and advancing in the ray direction for the distance from camera's position and camera target position. The method is called when the RotateAroundPointerPosition property is true. The method can be overridden to provide custom logic to get rotation pivot point. | |
IsCameraRotationCenterPositionSupported | protected IsCameraRotationCenterPositionSupported | |
MoveCamera | Moves the camera for the pointer change defined by pointerDx and pointerDy parameters. | |
OnCameraMoveEnded | Fires CameraMoveEnded event | |
OnCameraMoveStarted | Fires CameraMoveStarted event | |
OnCameraQuickZoomEnded | Fires CameraQuickZoomEnded event | |
OnCameraQuickZoomStarted | Fires CameraQuickZoomStarted event | |
OnCameraRotateEnded | Fires CameraRotateEnded event | |
OnCameraRotateStarted | Fires OnCameraRotateStarted event | |
QuadraticEaseOut | Simple quadratic easing function used to decelerate the rotation: y = -1 * x * x + 2 * x | |
QuickZoomCamera | Quickly zooms the camera for the pointer change defined by startPointerPosition and currentPointerPosition parameters. | |
ReleasePointerCapture | protected virtual ReleasePointerCapture | |
ResumeAnimationOrStartRotationEasing | protected ResumeAnimationOrStartRotationEasing | |
RotateCamera | RotateCamera method rotates the camera for the pointer change defined by pointerDx and pointerDy parameters. The method can be overridden in a derived class to provide custom camera rotation implementation. | |
SetCameraDistance | protected SetCameraDistance | |
SetCameraPositionForPointerMove | protected SetCameraPositionForPointerMove | |
SetCameraRotationCenterPosition | protected SetCameraRotationCenterPosition | |
StartCameraMovement | protected StartCameraMovement | |
StartCameraQuickZoom | StartCameraQuickZoom | |
StartCameraRotation | protected StartCameraRotation | |
SubscribeSceneView | Protected virtual SubscribeSceneView | |
SuspendAnimationOrStopEasingRotation | protected SuspendAnimationOrStopEasingRotation | |
UnsubscribeSceneView | Protected virtual UnsubscribeSceneView | |
UpdateRotationCenterPosition | protected UpdateRotationCenterPosition |