Navigation
API > API/Plugins > API/Plugins/AvalancheViewport > API/Plugins/AvalancheViewport/ViewportClient
Inheritance Hierarchy
- IAvaTypeCastable
- IAvaViewportWorldCoordinateConverter
- IAvaViewportClient
- FAvaViewportClientUtilityProvider
References
| Module | AvalancheViewport |
| Header | /Engine/Plugins/Experimental/Avalanche/Source/AvalancheViewport/Public/ViewportClient/AvaViewportClientUtilityProvider.h |
| Include | #include "ViewportClient/AvaViewportClientUtilityProvider.h" |
Syntax
class FAvaViewportClientUtilityProvider : public IAvaViewportClient
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | NotifyJumpCut
(
AActor* InViewTarget |
||
Overridden from IAvaViewportClient
| Type | Name | Description | |
|---|---|---|---|
| float | Returns the average of the above. | ||
| IAvaViewportDataProvider * | Uses the data proxy to fetch the data provider, if available. | ||
| FVector2f | Gets the total size of the widget that contains the viewport. | ||
| FVector2f | Returns (virtual viewport size / viewport size) | ||
| FVector2D | GetZoomedFrustumSizeAtDistance
(
double InDistance |
Calculates the size of the frustum plane parallel to the camera's near clip plane at the given distance. | |
| void | OnCameraCut
(
AActor* InCamera, |
Call this when a camera cut occurs. |
Overridden from IAvaViewportWorldCoordinateConverter
| Type | Name | Description | |
|---|---|---|---|
| FVector | ViewportPositionToWorldPosition
(
const FVector2f& InViewportPosition, |
Translates the viewport position to the corresponding position on the frustum plane parallel to the camera's near clip plane at the given distance. | |
| void | WorldPositionToViewportPosition
(
const FVector& InWorldPosition, |
Translates the position on the frustum plane parallel to the camera's near clip plane to the corresponding viewport position. |