Navigation
API > API/Runtime > API/Runtime/Landscape
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UActorComponent
- USceneComponent
- UPrimitiveComponent
- ULandscapeComponent
References
| Module | Landscape |
| Header | /Engine/Source/Runtime/Landscape/Classes/LandscapeComponent.h |
| Include | #include "LandscapeComponent.h" |
Syntax
class ULandscapeComponent : public UPrimitiveComponent
Variables
| Type | Name | Description | |
|---|---|---|---|
| TArray< FBox > | ActiveExcludedBoxes | ||
| FBox | CachedLocalBox | Cached local-space bounding box, created at heightmap update time | |
| uint32 | ChangeTag | ||
| int32 | CollisionMipLevel | Heightfield mipmap used to generate collision | |
| int32 | ComponentSizeQuads | Total number of quads for this component, has to be >0 | |
| FLandscapeEditToolRenderData | EditToolRenderData | Pointer to data shared with the render thread, used by the editor tools | |
| int32 | ForcedLOD | Forced LOD level to use when rendering | |
| TSharedRef< FLandscapeComponentGrassData, ESPMode::ThreadSafe > | GrassData | Grass data for generation | |
| FVector4 | HeightmapScaleBias | UV offset to Heightmap data from component local coordinates | |
| uint32 | LastSavedPhysicalMaterialHash | Represents last saved hash for PhysicalMaterialTask | |
| TArray< TObjectPtr< ULandscapeLayerInfoObject > > | LayerAllowList | List of layers allowed to be painted on this component. | |
| int32 | LightingLODBias | LOD level Bias to use when lighting building via lightmass, -1 Means automatic LOD calculation based on ForcedLOD + LODBias | |
| int32 | LODBias | LOD level Bias to use when rendering | |
| TArray< int8 > | LODIndexToMaterialIndex | Mapping between LOD and Material Index | |
| FGuid | MapBuildDataId | Uniquely identifies this component's built map data. | |
| TArray< TObjectPtr< UMaterialInstanceConstant > > | MaterialInstances | ||
| TArray< TObjectPtr< UMaterialInstanceDynamic > > | MaterialInstancesDynamic | ||
| TMap< TObjectPtr< UMaterialInterface >, int8 > | MaterialPerLOD | Represent the chosen material for each LOD | |
| TArray< TObjectPtr< UMaterialInstanceConstant > > | MobileCombinationMaterialInstances | The editor needs to save out the combination MIC we'll use for mobile, because we cannot generate it at runtime for standalone PIE games | |
| FGuid | MobileDataSourceHash | Hash of source for mobile generated data. | |
| TArray< TObjectPtr< UMaterialInterface > > | MobileMaterialInterfaces | Material interfaces used for mobile | |
| TArray< FWeightmapLayerAllocationInfo > | MobileWeightmapLayerAllocations | Layer allocations used by mobile. | |
| TArray< TObjectPtr< UTexture2D > > | MobileWeightmapTextures | Generated weightmap textures used for mobile. | |
| float | NegativeZBoundsExtension | Allows overriding the landscape bounds. | |
| int32 | NumSubsections | Number of subsections in X or Y axis | |
| TObjectPtr< UMaterialInterface > | OverrideHoleMaterial | ||
| TObjectPtr< UMaterialInterface > | OverrideMaterial | ||
| uint32 | PhysicalMaterialHash | Represents hash for last PhysicalMaterialTask | |
| FLandscapePhysicalMaterialRenderTask | PhysicalMaterialTask | Physical material update task | |
| float | PositiveZBoundsExtension | Allows overriding the landscape bounds. | |
| int32 | SectionBaseX | X offset from global components grid origin (in quads) | |
| int32 | SectionBaseY | Y offset from global components grid origin (in quads) | |
| int32 | SimpleCollisionMipLevel | Heightfield mipmap used to generate simple collision | |
| uint32 | SplineHash | ||
| FGuid | StateId | TODO [jonathan.bard] : remove unused : | |
| float | StaticLightingResolution | StaticLightingResolution overriding per component, default value 0 means no overriding | |
| int32 | SubsectionSizeQuads | Number of quads for a subsection of the component. SubsectionSizeQuads+1 must be a power of two. | |
| FVector4 | WeightmapScaleBias | UV offset to component's weightmap data from component local coordinates | |
| uint32 | WeightmapsHash | Represents hash of last weightmap usage update | |
| float | WeightmapSubsectionOffset | U or V offset into the weightmap for the first subsection, in texture UV space | |
| TObjectPtr< UTexture2D > | XYOffsetmapTexture | XYOffsetmap texture reference |
Constructors
| Type | Name | Description | |
|---|---|---|---|
ULandscapeComponent
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddDefaultLayerData
(
const FGuid& InLayerGuid, |
||
| void | AddLayerData
(
const FGuid& InLayerGuid, |
||
| void | AddReferencedObjects
(
UObject* InThis, |
||
| bool | Are the textures we need to render a grassmap currently streamed in? | ||
| uint32 | |||
| bool | Could a grassmap currently be generated, disregarding whether our textures are streamed in? | ||
| bool | Returns true if we can currently update physical materials. | ||
| void | CheckGenerateMobilePlatformData
(
bool bIsCooking, |
Generate mobile data if it's missing or outdated | |
| void | Clears component's dirtied collision region (used by Layer System) | ||
| void | ClearUpdateFlagsForModes
(
uint32 InModeMask |
||
| bool | Returns true if this component has visibility painted | ||
| uint32 | ComputeLayerHash
(
bool InReturnEditingHash |
||
| uint32 | |||
| void | CopyFinalLayerIntoEditingLayer
(
FLandscapeEditDataInterface& DataInterface, |
||
| void | CreateEmptyTextureMips
(
UTexture2D* Texture, |
Generate empty mipmaps for weightmap | |
| void | DeclareConstructClasses
(
TArray< FTopLevelAssetPath >& OutConstructClasses, |
||
| void | DeleteLayer
(
ULandscapeLayerInfoObject* LayerInfo, |
Deletes a material layer from the current edit layer on this component, removing all its data, adjusting other layer's weightmaps if necessary, etc. | |
| void | DeleteLayerAllocation
(
const FGuid& InEditLayerGuid, |
Deletes a layer from this component, but doesn't do anything else (assumes the user knows what he's doing, use DeleteLayer otherwise) | |
| void | DeleteLayerInternal
(
ULandscapeLayerInfoObject* LayerInfo, |
Deletes a material layer from the specified edit layer on this component, removing all its data, adjusting other layer's weightmaps if necessary, etc. | |
| void | Deletes Collision Component | ||
| float | EditorGetPaintLayerWeightAtLocation
(
const FVector& InLocation, |
Gets the landscape paint layer weight value at the given position using LandscapeLayerInfo . | |
| float | EditorGetPaintLayerWeightByNameAtLocation
(
const FVector& InLocation, |
Gets the landscape paint layer weight value at the given position using layer name. | |
| void | FillLayer
(
ULandscapeLayerInfoObject* LayerInfo, |
Fills a layer to 100% on this component, adding it if needed and removing other layers that get painted away. | |
| void | FinalizePhysicalMaterial
(
bool bInImmediatePhysicsRebuild |
Write the physical materials into the LandscapeComponent from the Render & Immediately Rebuild physics if requested | |
| void | FixupWeightmaps
(
const FGuid& InEditLayerGuid |
Fix up component layers, weightmaps | |
| void | Fix up component layers, weightmaps | ||
| void | ForEachLayer
(
TFunctionRef< void(const FGuid&, struct FLandscapeLayerComponentData&)> Fn |
||
| void | GenerateHeightmapMips
(
TArray< FColor* >& HeightmapTextureMipData, |
Generate mipmaps for height and tangent data. | |
| void | GenerateMipsTempl
(
int32 InNumSubsections, |
Generate mipmaps for weightmap Assumes all weightmaps are unique to this component. | |
| void | GenerateMobilePlatformPixelData
(
bool bIsCooking, |
||
| void | Generates mobile platform data for this component. | ||
| void | GenerateWeightmapMips
(
int32 InNumSubsections, |
||
| ULandscapeHeightfieldCollisionComponent * | |||
| UMaterialInstanceConstant * | GetCombinationMaterial
(
FMaterialUpdateContext* InMaterialUpdateContext, |
Helper function for UpdateMaterialInstance to get Material without set parameters | |
| void | GetComponentExtent
(
int32& MinX, |
Extends passed region with this component's 2D bounds (values are in landscape quads) | |
| FIntRect | Returns the 2D bounds of this component (in landscape quads) | ||
| TArray< FWeightmapLayerAllocationInfo > & | |||
| const TArray< FWeightmapLayerAllocationInfo > & | |||
| FLandscapeLayerComponentData * | Get the Landscape Actor's editing layer data | ||
| const FLandscapeLayerComponentData * | Get the Landscape Actor's editing layer data | ||
| FGuid | Get the Landscape Actor's editing layer GUID | ||
| TArray< UMaterialInstance * > | |||
| TArray< UTexture * > | Returns all generated textures and material instances used by this component. | ||
| void | GetGeneratedTexturesAndMaterialInstances
(
TArray< UObject* >& OutTexturesAndMaterials |
Returns all generated textures and material instances used by this component. | |
| UTexture2D * | GetHeightmap
(
bool InReturnEditingHeightmap |
Returns the heightmap for this component. If InReturnEditingHeightmap is passed, returns the currently active edit layer's heightmap : | |
| UTexture2D * | GetHeightmap
(
const FGuid& InLayerGuid |
Returns the heightmap for this component and the edit layer specified by InLayerGuid. If InLayerGuid is invalid, returns the final (base) heightmap : | |
| ALandscape * | Get the landscape actor associated with this component. | ||
| void | GetLandscapeComponentNeighbors3x3
(
TStaticArray< ULandscapeComponent*, 9 >& OutNeighborComponents |
||
| void | GetLandscapeComponentNeighborsToRender
(
TSet< ULandscapeComponent* >& NeighborComponents |
||
| void | GetLandscapeComponentWeightmapsToRender
(
TSet< ULandscapeComponent* >& WeightmapComponents |
||
| UMaterialInterface * | Returns the components's LandscapeHoleMaterial, or the Component's OverrideLandscapeHoleMaterial if set | ||
| ULandscapeInfo * | Gets the landscape info object for this landscape | ||
| UMaterialInterface * | GetLandscapeMaterial
(
int8 InLODIndex |
Returns the component's LandscapeMaterial, or the Component's OverrideLandscapeMaterial if set | |
| ALandscapeProxy * | Gets the landscape proxy actor which owns this component | ||
| FString | GetLayerAllocationKey
(
const TArray< FWeightmapLayerAllocationInfo >& Allocations, |
Generate a key for a component's layer allocations to use with MaterialInstanceConstantMap. | |
| FLandscapeLayerComponentData * | GetLayerData
(
const FGuid& InLayerGuid |
||
| const FLandscapeLayerComponentData * | GetLayerData
(
const FGuid& InLayerGuid |
||
| void | GetLayerDebugColorKey
(
int32& R, |
||
| uint32 | |||
| float | GetLayerWeightAtLocation
(
const FVector& InLocation, |
||
| ULevel * | GetLevel () |
Get the level in which the owning actor resides | |
| const FGuid & | |||
| FGuid | |||
| UMaterialInstance * | GetMaterialInstance
(
int32 InIndex, |
||
| int32 | GetMaterialInstanceCount
(
bool InDynamic |
||
| UMaterialInstanceDynamic * | GetMaterialInstanceDynamic
(
int32 InIndex |
Gets the landscape material instance dynamic for this component | |
| const FMeshMapBuildData * | |||
| bool | |||
| bool | |||
| const TArray< FLandscapePerLODMaterialOverride > & | |||
| bool | GetRenderPhysicalMaterials
(
TArray< UPhysicalMaterial* >& OutPhysicalMaterials |
Get the physical materials that are configured by the landscape component graphical material. | |
| FIntPoint | |||
| void | GetStaticLightingInfo
(
FStaticLightingPrimitiveInfo& OutPrimitiveInfo, |
||
| void | GetUsedPaintLayers
(
const FGuid& InLayerGuid, |
||
| bool | |||
| ULandscapeLayerInfoObject * | |||
| const TArray< FWeightmapLayerAllocationInfo > & | GetWeightmapLayerAllocations
(
const FGuid& InLayerGuid |
||
| TArray< FWeightmapLayerAllocationInfo > & | GetWeightmapLayerAllocations
(
bool InReturnEditingWeightmap |
||
| const TArray< FWeightmapLayerAllocationInfo > & | GetWeightmapLayerAllocations
(
bool InReturnEditingWeightmap |
||
| TArray< FWeightmapLayerAllocationInfo > & | GetWeightmapLayerAllocations
(
const FGuid& InLayerGuid |
||
| const TArray< UTexture2D * > & | GetWeightmapTextures
(
const FGuid& InLayerGuid |
||
| TArray< TObjectPtr< UTexture2D > > & | GetWeightmapTextures
(
const FGuid& InLayerGuid |
||
| const TArray< UTexture2D * > & | GetWeightmapTextures
(
bool InReturnEditingWeightmap |
||
| TArray< TObjectPtr< UTexture2D > > & | GetWeightmapTextures
(
bool InReturnEditingWeightmap |
||
| const TArray< ULandscapeWeightmapUsage * > & | GetWeightmapTexturesUsage
(
const FGuid& InLayerGuid |
||
| TArray< TObjectPtr< ULandscapeWeightmapUsage > > & | GetWeightmapTexturesUsage
(
bool InReturnEditingWeightmap |
||
| const TArray< ULandscapeWeightmapUsage * > & | GetWeightmapTexturesUsage
(
bool InReturnEditingWeightmap |
||
| TArray< TObjectPtr< ULandscapeWeightmapUsage > > & | GetWeightmapTexturesUsage
(
const FGuid& InLayerGuid |
||
| bool | |||
| void | Init
(
int32 InBaseX, |
Initialize the landscape component | |
| void | InitHeightmapData
(
TArray< FColor >& Heights, |
||
| void | InitializeLayersWeightmapUsage
(
const FGuid& InLayerGuid |
||
| void | InitWeightmapData
(
TArray< ULandscapeLayerInfoObject* >& LayerInfos, |
||
| bool | Is the grassmap data outdated, eg by a material | ||
| bool | Returns true if the component has a valid LandscapeHoleMaterial | ||
| bool | |||
| bool | True if the component's landscape material supports grass | ||
| void | ReallocateWeightmaps
(
FLandscapeEditDataInterface* DataInterface, |
Create weightmaps for this component for the layers specified in the WeightmapLayerAllocations array, works in the landscape current edit layer when InCanUseEditingWeightmap is true | |
| void | ReallocateWeightmapsInternal
(
FLandscapeEditDataInterface* DataInterface, |
Create weightmaps for this component for the layers specified in the WeightmapLayerAllocations array, works in the specified edit layer | |
| void | RecreateCollisionComponent
(
bool bUseSimpleCollision |
||
| void | |||
| void | |||
| void | RemoveInvalidWeightmaps
(
const FGuid& InEditLayerGuid |
||
| void | RemoveLayerData
(
const FGuid& InLayerGuid |
||
| void | Creates and destroys cooked grass data stored in the map | ||
| TArray< uint16 > | RenderWPOHeightmap
(
int32 LOD |
Renders the heightmap of this component (including material world-position-offset) at the specified LOD | |
| TArray< UTexture * > | Repair invalid texture data that might have been introduced by a faulty version. | ||
| void | ReplaceLayer
(
ULandscapeLayerInfoObject* FromLayerInfo, |
Replaces one layerinfo on this component with another | |
| void | ReplaceLayerInternal
(
ULandscapeLayerInfoObject* FromLayerInfo, |
Replaces one layerinfo on this component with another | |
| void | |||
| void | RequestEditingClientUpdate
(
bool bInUserTriggered |
||
| void | RequestHeightmapUpdate
(
bool bUpdateAll, |
||
| void | RequestWeightmapUpdate
(
bool bUpdateAll, |
||
| void | SerializeStateHashes
(
FArchive& Ar |
Serialize all hashes/guids that record the current state of this component | |
| void | SetCollisionComponent
(
ULandscapeHeightfieldCollisionComponent* InCollisionComponent |
||
| void | SetForcedLOD
(
int32 InForcedLOD |
||
| void | SetHeightmap
(
UTexture2D* NewHeightmap |
||
| void | |||
| void | SetLOD
(
bool bForced, |
||
| void | SetLODBias
(
int32 InLODBias |
||
| void | SetNaniteActive
(
bool bValue |
||
| void | SetPendingCollisionDataUpdate
(
bool bInPendingCollisionDataUpdate |
||
| void | SetPendingLayerCollisionDataUpdate
(
bool bInPendingLayerCollisionDataUpdate |
||
| void | SetPerLODOverrideMaterials
(
const TArray< FLandscapePerLODMaterialOverride >& InValue |
||
| void | SetSectionBase
(
FIntPoint InSectionBase |
||
| void | SetUserTriggeredChangeRequested
(
bool bInUserTriggeredChangeRequested |
||
| void | SetWeightmapLayerAllocations
(
const TArray< FWeightmapLayerAllocationInfo >& InNewWeightmapLayerAllocations |
||
| void | SetWeightmapTextures
(
const TArray< UTexture2D* >& InNewWeightmapTextures, |
||
| void | SetWeightmapTexturesInternal
(
const TArray< UTexture2D* >& InNewWeightmapTextures, |
||
| void | SetWeightmapTexturesUsage
(
const TArray< ULandscapeWeightmapUsage* >& InNewWeightmapTexturesUsage, |
||
| void | SetWeightmapTexturesUsageInternal
(
const TArray< ULandscapeWeightmapUsage* >& InNewWeightmapTexturesUsage, |
||
| void | UpdateCachedBounds
(
bool bInApproximateBounds |
Recalculate cached bounds using height values. | |
| void | UpdateCollisionData
(
bool bInUpdateHeightfieldRegion |
Updates collision component height data for the entire component, locking and unlocking heightmap textures | |
| void | UpdateCollisionHeightBuffer
(
int32 InComponentX1, |
||
| void | UpdateCollisionHeightData
(
const FColor* HeightmapTextureMipData, |
Create or updates collision component height data | |
| void | Update collision component dominant layer data for the whole component, locking and unlocking the weightmap textures. | ||
| void | UpdateCollisionLayerData
(
const FColor*const* WeightmapTextureMipData, |
Update collision component dominant layer data | |
| void | UpdateCollisionPhysicalMaterialData
(
TArray< UPhysicalMaterial* > const& InPhysicalMaterials, |
Update collision component physical materials from render task results. | |
| void | UpdateDataMips
(
int32 InNumSubsections, |
||
| void | UpdateDirtyCollisionHeightData
(
FIntRect Region |
Cumulates component's dirtied collision region that will need to be updated (used by Layer System) | |
| void | UpdateDominantLayerBuffer
(
int32 InComponentX1, |
||
| void | Updates the values of component-level properties exposed by the Landscape Actor | ||
| void | |||
| void | Update layer allow list to include the currently painted layers. | ||
| void | Update the MaterialInstance parameters to match the layer and weightmaps for this component Creates the MaterialInstance if it doesn't exist. | ||
| void | UpdateMaterialInstances
(
FMaterialUpdateContext& InOutMaterialContext, |
Update the MaterialInstance parameters to match the layer and weightmaps for this component Creates the MaterialInstance if it doesn't exist. | |
| void | UpdateMaterialInstances_Internal
(
FMaterialUpdateContext& Context |
Internal implementation of UpdateMaterialInstances, not safe to call directly. | |
| void | UpdateMipsTempl
(
int32 InNumSubsections, |
Update mipmaps for existing weightmap texture | |
| void | Updates navigation properties to match landscape actor's | ||
| void | Update physical material render tasks. | ||
| void | Updates the reject navmesh underneath flag in the collision component | ||
| void | UpdateWeightmapMips
(
int32 InNumSubsections, |
||
| bool | ValidateCombinationMaterial
(
UMaterialInstanceConstant* InCombinationMaterial |
Overridden from UPrimitiveComponent
| Type | Name | Description | |
|---|---|---|---|
| void | AddMapBuildDataGUIDs
(
TSet< FGuid >& InGUIDs |
Add the used GUIDs from UMapBuildDataRegistry::MeshBuildData. | |
| FPrimitiveSceneProxy * | Creates a proxy to represent the primitive to the scene manager in the rendering thread. | ||
| void | GetLightAndShadowMapMemoryUsage
(
int32& LightMapMemoryUsage, |
Returns the light and shadow map memory for this primitive in its out variables. | |
| bool | GetLightMapResolution
(
int32& Width, |
Returns the lightmap resolution used for this primitive instance in the case of it supporting texture light/ shadow maps. | |
| UMaterialInterface * | GetMaterial
(
int32 ElementIndex |
Returns the material used by the element at the specified index | |
| int32 | Return number of material elements in this primitive | ||
| TArray< URuntimeVirtualTexture * > const & | Get the array of runtime virtual textures into which we render the mesh for this actor. | ||
| ELightMapInteractionType | Requests whether the component will use texture, vertex or no lightmaps. | ||
| int32 | Returns the static lightmap resolution used for this primitive. | ||
| void | GetStreamingRenderAssetInfo
(
FStreamingTextureLevelContext& LevelContext, |
Enumerates the streaming textures/meshes used by the primitive. | |
| void | GetUsedMaterials
(
TArray< UMaterialInterface* >& OutMaterials, |
Retrieves the materials used in this component | |
| ERuntimeVirtualTextureMainPassType | Get the runtime virtual texture pass settings. | ||
| bool | IsShown
(
const FEngineShowFlags& ShowFlags |
Would this primitive be shown with these rendering flags. | |
| void | SetMaterial
(
int32 ElementIndex, |
Changes the material applied to an element of the mesh. | |
| bool | Whether the component type supports static lighting. |
Overridden from USceneComponent
| Type | Name | Description | |
|---|---|---|---|
| FBoxSphereBounds | CalcBounds
(
const FTransform& LocalToWorld |
Calculate the bounds of the component. Default behavior is a bounding box/sphere of zero size. | |
| bool | GetMaterialPropertyPath
(
int32 ElementIndex, |
Returns full material property path and UObject owner property object Path examples: Material property path with array element and inner struct Materials[0].InnerStruct.Material Material property path with array element Materials[0] Simple material property path Materials | |
| bool | True if our precomputed lighting is up to date | ||
| void | PreFeatureLevelChange
(
ERHIFeatureLevel::Type PendingFeatureLevel |
Called to update any visuals needed for a feature level change | |
| void | Updates any visuals after the lighting has changed |
Overridden from UActorComponent
| Type | Name | Description | |
|---|---|---|---|
| void | DestroyComponent
(
bool bPromoteChildren |
Unregister the component, remove it from its outer Actor's Components array and mark for pending kill. | |
| TSubclassOf< class UHLODBuilder > | Return the custom HLODBuilder class that should be used to generate HLODs for components of this type. | ||
| void | InvalidateLightingCacheDetailed
(
bool bInvalidateBuildEnqueuedLighting, |
Called when this actor component has moved, allowing it to discard statically cached lighting information. | |
| bool | Override to specify that a component is relevant to the HLOD generation. | ||
| void | OnRegister () |
Called when a component is registered, after Scene is set, but before CreateRenderState_Concurrent or OnCreatePhysicsState are called. | |
| void | OnUnregister () |
Called when a component is unregistered. |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| void | BeginCacheForCookedPlatformData
(
const ITargetPlatform* TargetPlatform |
Starts caching of platform specific data for the target platform Called when cooking before serialization so that object can prepare platform specific data Not called during normal loading of objects | |
| void | BeginDestroy () |
Called before destroying the object. | |
| void | GetResourceSizeEx
(
FResourceSizeEx& CumulativeResourceSize |
Get the size of the object/resource for use in memory tools or to display to artists/LDs in the Editor This is the extended version which separates up the used memory into different memory regions (the actual definition of which may be platform specific). | |
| void | PostDuplicate
(
bool bDuplicateForPIE |
Called after duplication & serialization and before PostLoad. | |
| void | PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
Called when a property on this object has been modified externally | |
| void | PostEditUndo () |
Called after applying a transaction to the object. | |
| void | Called after the C++ constructor and after the properties have been initialized, including those loaded from config. | ||
| void | PostLoad () |
Do any object-specific cleanup required immediately after loading an object. | |
| void | PreEditChange
(
FProperty* PropertyAboutToChange |
This is called when a property is about to be modified externally | |
| void | PreEditUndo () |
Called before applying a transaction to the object. | |
| void | Handles reading, writing, and reference collecting using FArchive. |
Constants
| Name | Description |
|---|---|
| UndoRedoModifiedComponentCount | Records the ULandscapeComponents that are modified in any undo/redo operation that is being applied currently |
| UndoRedoModifiedComponents |
Deprecated Variables
| Type | Name | Description | |
|---|---|---|---|
| FGuid | BakedTextureMaterialGuid | BakedTextureMaterialGuid is officially deprecated now and nothing updates it anymore | |
| TLazyObjectPtr< ULandscapeHeightfieldCollisionComponent > | CollisionComponent_DEPRECATED | ||
| TObjectPtr< UTexture2D > | GIBakedBaseColorTexture | GIBakedBaseColorTexture is officially deprecated now and nothing updates it anymore | |
| TArray< FGuid > | IrrelevantLights_DEPRECATED | Legacy irrelevant lights | |
| FGuid | LastBakedTextureMaterialGuid | LastBakedTextureMaterialGuid is officially deprecated now and nothing updates it anymore | |
| TObjectPtr< UMaterialInstanceConstant > | MaterialInstance_DEPRECATED | ||
| TObjectPtr< UMaterialInstanceConstant > | MobileCombinationMaterialInstance_DEPRECATED | ||
| TObjectPtr< UMaterialInterface > | MobileMaterialInterface_DEPRECATED | ||
| PRAGMA_DISABLE_DEPRECATION_WARNINGSTArray< FLandscapeComponentMaterialOverride > | OverrideMaterials_DEPRECATED | OverrideMaterials has been deprecated, use PerLODOverrideMaterials instead. |
Deprecated Functions
| Type | Name | Description | |
|---|---|---|---|
| void | SetEditingLayer
(
const FGuid& InEditingLayer |
SetEditingLayer has been deprecated, use GetLandscapeActor()->SetEditingLayer() instead. |