Orrery Terrain · OrreryTerrainEditor module · member function
UOrreryTerrainMaterialLibrary::
CheckRvtReadiness
Editor onlyBlueprintCheck that Parent can write the terrain RVT, and log one warning per problem.
Declaration
UFUNCTION(BlueprintCallable, Category="Orrery|Terrain|Materials")
static bool CheckRvtReadiness(UMaterialInterface* Parent);Blueprint Check Rvt Readiness
The graph as text
- Check Rvt Readiness (function call)
- In Parent (MaterialInterface object): None
- Out Return Value (Boolean): not connected
- Header
#include "OrreryTerrainMaterialLibrary.h"- Module
PublicDependencyModuleNames.Add("OrreryTerrainEditor");in an editor module’s Build.cs: an editor module, not in packaged games.- Stability
- Stable: changes within a major version only add.
- Thread
- Editor, game thread.
- Blueprint
- Check Rvt Readiness, in Orrery › Terrain › Materials
Description
Two things are checked, on the parent material's own graph: it has an RVT Output node (a node held by a material function compiles nothing, though the cached flag bHasRuntimeVirtualTextureOutput says otherwise), and Tangent Space Normal is off (the RVT stores world-space normals). Without them the terrain draws the direct layer blend and the ballast shoulders are lost. Called by WrapMaterialAs; nothing is changed, it is the buyer's material.
Parameters
| Name | Type | Default | Meaning |
|---|---|---|---|
Parent | UMaterial | — | Any surface material or instance; null is not ready. |
Returns
True when both hold.
Note.
Editor, game thread.