Navigation
API > API/Plugins > API/Plugins/AvalancheViewport
| Name | FAvaViewportWorldCoordinateConverterProviderPerspective |
| Type | struct |
| Header File | /Engine/Plugins/VirtualProduction/Avalanche/Source/AvalancheViewport/Public/Test/AvaViewportWorldCoordinateConverterProvider.h |
| Include Path | #include "Test/AvaViewportWorldCoordinateConverterProvider.h" |
Syntax
struct FAvaViewportWorldCoordinateConverterProviderPerspective : public FAvaViewportWorldCoordinateConverterProvider
Implements Interfaces
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FAvaViewportWorldCoordinateConverterProviderPerspective
(
FVector InLocation, |
Test/AvaViewportWorldCoordinateConverterProvider.h |
Functions
Public
Protected
Overridden from IAvaViewportWorldCoordinateConverter
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FVector2D GetFrustumSizeAtDistance
(
double InDistance |
Calculates the size of the frustum plane parallel to the camera's near clip plane at the given distance. | Test/AvaViewportWorldCoordinateConverterProvider.h | |
virtual 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. | Test/AvaViewportWorldCoordinateConverterProvider.h | |
virtual 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. | Test/AvaViewportWorldCoordinateConverterProvider.h |