Navigation
API > API/Editor > API/Editor/UnrealEd > API/Editor/UnrealEd/FThumbnailPreviewScene
Description
Gets parameters to create a view matrix to be used by CreateView(). Implemented in children classes.
Derived Overrides
- FAnimationSequenceThumbnailScene::GetViewMatrixParameters
- FAnimBlueprintThumbnailScene::GetViewMatrixParameters
- FBlendSpaceThumbnailScene::GetViewMatrixParameters
- FClassActorThumbnailScene::GetViewMatrixParameters
- FMaterialThumbnailScene::GetViewMatrixParameters
- FParticleSystemThumbnailScene::GetViewMatrixParameters
- FPhysicsAssetThumbnailScene::GetViewMatrixParameters
- FSkeletalMeshThumbnailScene::GetViewMatrixParameters
- FStaticMeshThumbnailScene::GetViewMatrixParameters
| Name | GetViewMatrixParameters |
| Type | function |
| Header File | /Engine/Source/Editor/UnrealEd/Public/ThumbnailHelpers.h |
| Include Path | #include "ThumbnailHelpers.h" |
void GetViewMatrixParameters
(
const float InFOVDegrees,
FVector & OutOrigin,
float & OutOrbitPitch,
float & OutOrbitYaw,
float & OutOrbitZoom
) const
Parameters
| Name | Remarks |
|---|---|
| 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. |