| UObjectBase
|
Module |
|
Header |
/Engine/Source/Runtime/Landscape/Classes/LandscapeInfo.h |
Include |
#include "LandscapeInfo.h" |
class ULandscapeInfo : public UObject
Name | Description | ||
---|---|---|---|
|
ComponentNumSubsections |
||
|
ComponentSizeQuads |
||
|
DrawScale |
||
|
TLazyObjectPtr<... |
LandscapeActor |
|
|
LandscapeGuid |
||
|
Layers |
||
|
Proxies |
||
|
SelectedRegion |
||
|
SubsectionSizeQuads |
||
|
XYtoAddCollisionMap |
Lookup map used by the "add component" tool. |
|
|
XYtoCollisionComponentMap |
Map of the offsets (in component space) to the collision components. Should always be valid. |
|
|
XYtoComponentMap |
Map of the offsets (in component space) to the component. Valid in editor only. |
Name | Description | |
---|---|---|
|
ULandscapeInfo ( |
Name | Description | ||
---|---|---|---|
|
ApplySplines ( |
||
|
AreAllComponentsRegistered() |
||
|
CanHaveLayersContent() |
Will tell if the landscape actor can have some content related to the layer system |
|
|
ClearDirtyData() |
Will clear all component dirty data |
|
|
ClearSelectedRegion ( |
||
|
CreateLayerEditorSettingsFor ( |
||
|
DeleteLayer ( |
||
|
ExportHeightmap ( |
||
|
ExportLayer ( |
||
|
FixupProxiesTransform() |
Fixes up proxies relative position to landscape actor basically makes sure that each LandscapeProxy RootComponent transform reflects LandscapeSectionOffset value requires LandscapeActor to be loaded Does not work in World composition mode! |
|
|
ForAllLandscapeComponents ( |
||
|
ForAllLandscapeProxies ( |
Runs the given function on the root landscape actor and all streaming proxies Most easily used with a lambda as follows: ForAllLandscapeProxies([](ALandscapeProxy* Proxy) { Code }); |
|
|
GetComponentsInRegion |
||
|
ALandscapePr... |
GetCurrentLevelLandscapeProxy ( |
Returns landscape which is spawned in the current level that was previously added to this landscape info object |
|
GetLandscapeCenterPos |
||
|
GetLandscapeExtent |
||
|
ALandscapePr... |
GetLandscapeProxy() |
Returns shared landscape or landscape proxy, mostly for transformations |
|
ALandscapePr... |
GetLandscapeProxyForLevel ( |
Returns the landscape proxy of this landscape info in the given level (if it exists) |
|
FLandscapeEd... |
GetLayerEditorSettings ( |
|
|
ULandscapeLa... |
GetLayerInfoByName ( |
|
|
GetLayerInfoIndex ( |
||
|
GetLayerInfoIndex ( |
||
|
GetSelectedComponents() |
||
|
GetSelectedExtent |
||
|
GetSelectedRegionComponents() |
||
|
GetUsedPaintLayers ( |
||
|
IsValidPosition |
||
|
ALandscapePr... |
MoveComponentsToLevel ( |
Moves Components to target level. |
|
MoveSplinesToLevel ( |
Moves all Splines to target level. Creates ULandscapeSplineComponent if needed. |
|
|
MoveSplineToLevel ( |
Moves Splines connected to this control point to target level. |
|
|
PostponeTextureBaking() |
Postpones landscape textures baking, usually used during landscape painting to avoid hitches |
|
|
RecreateCollisionComponents() |
||
|
RecreateLandscapeInfo |
Recreate all LandscapeInfo objects in given world |
|
|
RegisterActor ( |
Associates passed actor with this info object |
|
|
RegisterActorComponent ( |
Associates passed landscape component with this info object |
|
|
RegisterCollisionComponent |
Server doesn't have ULandscapeComponent use CollisionComponents instead to get height on landscape |
|
|
RemoveXYOffsets() |
||
|
ReplaceLayer ( |
||
|
Reset() |
Resets all actors, proxies, components registrations |
|
|
UnregisterActor ( |
Deassociates passed actor with this info object |
|
|
UnregisterActorComponent ( |
Deassociates passed landscape component with this info object |
|
|
UnregisterCollisionComponent |
||
|
UpdateAddCollision ( |
||
|
UpdateAllAddCollisions() |
Only for use by the "add component" tool. Todo - move into the tool? |
|
|
UpdateAllComponentMaterialInstances() |
Will call UpdateAllComponentMaterialInstances on all LandscapeProxies |
|
|
UpdateComponentLayerWhitelist() |
Update per-component layer whitelists to include the currently painted layers. |
|
|
UpdateDebugColorMaterial() |
||
|
UpdateLayerInfoMap ( |
||
|
UpdateSelectedComponents ( |