Navigation
API > API/Runtime > API/Runtime/Landscape
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- AActor
- ALandscapeGizmoActor
- ALandscapeGizmoActiveActor
References
| Module | Landscape |
| Header | /Engine/Source/Runtime/Landscape/Classes/LandscapeGizmoActiveActor.h |
| Include | #include "LandscapeGizmoActiveActor.h" |
Syntax
class ALandscapeGizmoActiveActor : public ALandscapeGizmoActor
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bFollowTerrainHeight | ||
| float | CachedHeight | ||
| float | CachedScaleXY | ||
| float | CachedWidth | ||
| TEnumAsByte< enum ELandscapeGizmoType > | DataType | ||
| FVector[8] | FrustumVerts | ||
| TObjectPtr< UMaterialInstance > | GizmoDataMaterial | ||
| TObjectPtr< UMaterial > | GizmoMaterial | ||
| TObjectPtr< UMaterial > | GizmoMeshMaterial | ||
| TObjectPtr< UTexture2D > | GizmoTexture | ||
| TArray< TObjectPtr< ULandscapeLayerInfoObject > > | LayerInfos | ||
| TArray< FVector > | SampledHeight | ||
| TArray< FVector > | SampledNormal | ||
| int32 | SampleSizeX | ||
| int32 | SampleSizeY | ||
| TMap< FIntPoint, FGizmoSelectData > | SelectedData | ||
| ELandscapeGizmoSnapType | SnapType | ||
| FVector2D | TextureScale | ||
| FRotator | UnsnappedRotation |
Constructors
| Type | Name | Description | |
|---|---|---|---|
ALandscapeGizmoActiveActor
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | CalcNormal () |
||
| void | |||
| void | |||
| void | |||
| void | |||
| void | |||
| float | GetHeight () |
||
| float | GetLandscapeHeight
(
float NormalizedHeight |
||
| float | GetLength () |
||
| float | GetNormalizedHeight
(
uint16 LandscapeHeight |
||
| float | GetWidth () |
||
| void | Import
(
int32 VertsX, |
||
| void | |||
| void | SampleData
(
int32 SizeX, |
||
| void | SetLength
(
float WorldLength |
||
| void | SetTargetLandscape
(
ULandscapeInfo* LandscapeInfo |
||
| FVector | SnapToLandscapeGrid
(
const FVector& GizmoLocation |
||
| FRotator | SnapToLandscapeGrid
(
const FRotator& GizmoRotation |
||
| ALandscapeGizmoActor * | Whenever the decal actor has moved: |
Overridden from AActor
| Type | Name | Description | |
|---|---|---|---|
| void | EditorApplyRotation
(
const FRotator& DeltaRotation, |
Called by ApplyDeltaToActor to perform an actor class-specific operation based on widget manipulation. | |
| void | EditorApplyScale
(
const FVector& DeltaScale, |
Called by ApplyDeltaToActor to perform an actor class-specific operation based on widget manipulation. | |
| void | EditorApplyTranslation
(
const FVector& DeltaTranslation, |
Called by ApplyDeltaToActor to perform an actor class-specific operation based on widget manipulation. | |
| void | PostEditMove
(
bool bFinished |
Called after an actor has been moved in the editor |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| void | PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
Called when a property on this object has been modified externally |
Constants
| Name | Description |
|---|---|
| DataTexSize |