Navigation
API > API/Plugins > API/Plugins/AvalancheViewport > API/Plugins/AvalancheViewport/Test
Inheritance Hierarchy
- IAvaTypeCastable
- IAvaViewportWorldCoordinateConverter
- FAvaViewportWorldCoordinateConverterProvider
- FAvaViewportWorldCoordinateConverterProviderOrthographic
References
| Module | AvalancheViewport |
| Header | /Engine/Plugins/Experimental/Avalanche/Source/AvalancheViewport/Public/Test/AvaViewportWorldCoordinateConverterProvider.h |
| Include | #include "Test/AvaViewportWorldCoordinateConverterProvider.h" |
Syntax
struct FAvaViewportWorldCoordinateConverterProviderOrthographic : public FAvaViewportWorldCoordinateConverterProvider
Variables
| Type | Name | Description | |
|---|---|---|---|
| float | OrthographicWidth |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FAvaViewportWorldCoordinateConverterProviderOrthographic
(
FVector InLocation, |
Overridden from IAvaViewportWorldCoordinateConverter
| Type | Name | Description | |
|---|---|---|---|
| FVector2D | GetFrustumSizeAtDistance
(
double InDistance |
Calculates the size of the frustum plane parallel to the camera's near clip plane at the given distance. | |
| 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. |