Calculate Target Size

Image/Utility

Calculates a target image size that does not exceed the specified maximum Target size, while maintaining the aspect ratio.

Input Parameters

  • ImageSize UVec2
  • Target Uint

Output Parameters

  • IsRequired Boolean
  • TargetSize UVec2

Meta

AuthorInstaMaterial GmbH
CategoryImage/Utility
TooltipCalculates a target image size that does not exceed the specified maximum Target size, while maintaining the aspect ratio.
NameCalculate Target Size
Version1.7
ID82f06126-da07-43f4-aaae-09382c8f38b5
PackageUrlpkg://3dfc82a4-f25d-4e82-9b18-4b00d3e2870f/atoms/82f06126-da07-43f4-aaae-09382c8f38b5.atom