Navigation
API > API/Plugins > API/Plugins/LandscapePatch
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- ULandscapeTextureBackedRenderTargetBase
- ULandscapeHeightTextureBackedRenderTarget
- ULandscapeWeightTextureBackedRenderTarget
References
| Module | LandscapePatch |
| Header | /Engine/Plugins/Experimental/LandscapePatch/Source/LandscapePatch/Public/LandscapeTextureBackedRenderTarget.h |
| Include | #include "LandscapeTextureBackedRenderTarget.h" |
Syntax
UCLASS&40;Abstract&41;
class ULandscapeTextureBackedRenderTargetBase : public UObject
Remarks
A combination of a render target and UTexture2D that allows render target to be saved across save/load/etc by copying the data back and forth from the internal texture.
After an Initialize() call, the internal texture will always be present, and the render target will be present depending on how SetUseInternalTextureOnly is called (by default, present).
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bUseInternalTextureOnly | ||
| TObjectPtr< UTexture2D > | InternalTexture | ||
| TObjectPtr< UTextureRenderTarget2D > | PostLoadRT | ||
| TObjectPtr< UTextureRenderTarget2D > | RenderTarget | ||
| int32 | SizeX | ||
| int32 | SizeY |
Functions
| Type | Name | Description | |
|---|---|---|---|
| UTexture2D * | |||
| ETextureSourceFormat | |||
| UTextureRenderTarget2D * | |||
| ETextureRenderTargetFormat | |||
| void | Initialize () |
||
| bool | Allows us to disable copying back and forth between render target and texture when this is not possible (for instance, when rendering is turned off, so render target resources are not allocated). | ||
| void | SetResolution
(
int32 SizeXIn, |
||
| void | SetUseInternalTextureOnly
(
bool bUseInternalTextureOnlyIn, |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| void | ExportCustomProperties
(
FOutputDevice& Out, |
Exports the property values for the specified object as text to the output device. | |
| void | Called after importing property values for this object (paste, duplicate or .t3d import) Allow the object to perform any cleanup for properties which shouldn't be duplicated or are unsupported by the script serialization | ||
| void | PostLoad () |
Do any object-specific cleanup required immediately after loading an object. | |
| void | PreDuplicate
(
FObjectDuplicationParameters& DupParams |
Called before duplication. |