UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
UE::Geometry::TSpatialPhoto< PixelType > Struct Template Reference

#include <SpatialPhotoSet.h>

Public Attributes

FFrame3d Frame
 
double NearPlaneDist = 1.0
 
double HorzFOVDegrees = 90.0
 
FImageDimensions Dimensions
 
TImageBuilder< PixelType > Image
 

Detailed Description

template<typename PixelType>
struct UE::Geometry::TSpatialPhoto< PixelType >

TSpatialPhoto represents a 2D image located in 3D space, ie the image plus camera parameters, which is essentially a "Photograph" of some 3D scene (hence the name)

Member Data Documentation

◆ Dimensions

template<typename PixelType >
FImageDimensions UE::Geometry::TSpatialPhoto< PixelType >::Dimensions

Pixel dimensions of the photo image

◆ Frame

template<typename PixelType >
FFrame3d UE::Geometry::TSpatialPhoto< PixelType >::Frame

Coordinate system of the view camera - X() is forward, Z() is up

◆ HorzFOVDegrees

template<typename PixelType >
double UE::Geometry::TSpatialPhoto< PixelType >::HorzFOVDegrees = 90.0

Horizontal Field-of-View of the camera in degrees (full FOV, so generally calculations will use half this value)

◆ Image

template<typename PixelType >
TImageBuilder<PixelType> UE::Geometry::TSpatialPhoto< PixelType >::Image

Pixels of the image

◆ NearPlaneDist

template<typename PixelType >
double UE::Geometry::TSpatialPhoto< PixelType >::NearPlaneDist = 1.0

Near-plane distance for the camera, image pixels lie on this plane


The documentation for this struct was generated from the following file: