Navigation
API > API/Plugins > API/Plugins/LandscapePatch > API/Plugins/LandscapePatch/ULandscapeTexturePatch
References
| Module | LandscapePatch |
| Header | /Engine/Plugins/Experimental/LandscapePatch/Source/LandscapePatch/Public/LandscapeTexturePatch.h |
| Include | #include "LandscapeTexturePatch.h" |
| Source | /Engine/Plugins/Experimental/LandscapePatch/Source/LandscapePatch/Private/LandscapeTexturePatch.cpp |
UFUNCTION&40;BlueprintCallable, Category&61;LandscapePatch, Meta&61;&40;ResolutionMultiplier&61;"1.0"&41;&41;
virtual bool GetInitResolutionFromLandscape
&40;
float ResolutionMultiplier,
FVector2D & ResolutionOut
&41; const
Remarks
Given the landscape resolution, current patch coverage, and a landscape resolution multiplier, gives the needed resolution of the landscape patch. I.e., figures out the number of pixels in the landcape that would be in a region of such size, and then uses the resolution multiplier to give a result. true if successful (may fail if landscape is not set, for instance)