FThumbnailPreviewScene::GetViewMatrixParameters

Gets parameters to create a view matrix to be used by [GetView()](API\Editor\UnrealEd\FThumbnailPreviewScene\GetView).

Windows
MacOS
Linux

Override Hierarchy

References

Module

UnrealEd

Header

/Engine/Source/Editor/UnrealEd/Public/ThumbnailHelpers.h

Include

#include "ThumbnailHelpers.h"

Syntax

void GetViewMatrixParameters
(
    const float InFOVDegrees,
    FVector & OutOrigin,
    float & OutOrbitPitch,
    float & OutOrbitYaw,
    float & OutOrbitZoom
) const

Remarks

Gets parameters to create a view matrix to be used by GetView(). Implemented in children classes.

Parameters

Parameter

Description

InFOVDegrees

The FOV used to display the thumbnail. Often used to calculate the output parameters.

OutOrigin

The origin of the orbit view. Typically the center of the bounds of the target object.

OutOrbitPitch

The pitch of the orbit cam around the object.

OutOrbitYaw

The yaw of the orbit cam around the object.

OutOrbitZoom

The camera distance from the object.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss