Navigation
API > API/Plugins > API/Plugins/GameplayCameras > API/Plugins/GameplayCameras/Math > API/Plugins/GameplayCameras/Math/FFramingZone > API/Plugins/GameplayCameras/Math/FFramingZone/ClampBounds
References
| Module | GameplayCameras |
| Header | /Engine/Plugins/Cameras/GameplayCameras/Source/GameplayCameras/Public/Math/CameraFramingZoneMath.h |
| Include | #include "Math/CameraFramingZoneMath.h" |
| Source | /Engine/Plugins/Cameras/GameplayCameras/Source/GameplayCameras/Private/Math/CameraFramingZoneMath.cpp |
void ClampBounds
(
const FVector2d & MustContain
)
Remarks
Makes sure all the bounds have valid values between 0 and 1, and that the enclosed rectangle contains the given target point.