Navigation
API > API/Plugins > API/Plugins/ModelingComponents > API/Plugins/ModelingComponents/Scene > API/Plugins/ModelingComponents/Scene/FSceneCapturePhotoSet
References
| Module | ModelingComponents |
| Header | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Public/Scene/SceneCapturePhotoSet.h |
| Include | #include "Scene/SceneCapturePhotoSet.h" |
template<ERenderCaptureType CaptureType>
FVector4f ComputeSampleNearest
(
const int & PhotoIndex,
const FVector2d & PhotoCoords,
const FSceneSample & DefaultSample
) const
the value of the nearest pixel in the given photo for the given CaptureType Note: This function does not interpolate because this causes artefacts; two adjacent pixels on a photo can be from parts of the scene which are very far from each other so interpolating the values when makes no sense. Texture filtering is accomplished by the baking framework where it can use correctly localized information.