Navigation
API > API/Runtime > API/Runtime/GeometryCore
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)
| Name | TSpatialPhoto |
| Type | struct |
| Header File | /Engine/Source/Runtime/GeometryCore/Public/Image/SpatialPhotoSet.h |
| Include Path | #include "Image/SpatialPhotoSet.h" |
Syntax
template<typename PixelType>
struct TSpatialPhoto
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Dimensions | FImageDimensions | Pixel dimensions of the photo image | Image/SpatialPhotoSet.h | |
| Frame | FFrame3d | Coordinate system of the view camera - X() is forward, Z() is up | Image/SpatialPhotoSet.h | |
| HorzFOVDegrees | double | Horizontal Field-of-View of the camera in degrees (full FOV, so generally calculations will use half this value) | Image/SpatialPhotoSet.h | |
| Image | TImageBuilder< PixelType > | Pixels of the image | Image/SpatialPhotoSet.h | |
| NearPlaneDist | double | Near-plane distance for the camera, image pixels lie on this plane | Image/SpatialPhotoSet.h |