Mostly Harmless

UE3:TerrainMaterial (UDK)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UDK Object >> TerrainMaterial
Package: 
Engine
This class in other games:
UE2Runtime, U2XMP, U2, UT2003, UT2004, UT3


Properties[edit]

Property group 'Displacement'[edit]

DisplacementMap[edit]

Type: Texture2D

Grayscale image to move vertices of the terrain along the surface normal.

DisplacementScale[edit]

Type: float

The amount to sacle the displacement texture by.

Default value: 0.25

Property group 'Foliage'[edit]

FoliageMeshes[edit]

Type: array<TerrainFoliageMesh>

Foliage meshes to apply (optional).

Property group 'Material'[edit]

MappingPanU[edit]

Type: float

Offset to apply to the mapping along U.

MappingPanV[edit]

Type: float

Offset to apply to the mapping along V.

MappingRotation[edit]

Type: float

Rotation to apply to the mapping.

MappingScale[edit]

Type: float

Uniform scale to apply to the mapping.

Default value: 4.0

MappingType[edit]

Type: ETerrainMappingType

Determines the mapping place to use on the terrain.

Material[edit]

Type: MaterialInterface

The Material to apply to the terrain.

Internal variables[edit]

LocalToMapping[edit]

Type: Object.Matrix


Enums[edit]

ETerrainMappingType[edit]

TMT_Auto 
TMT_XY 
TMT_XZ 
TMT_YZ 

Structs[edit]

TerrainFoliageMesh[edit]

Modifiers: native

StaticMesh StaticMesh 
The static mesh to use as the foliage piece.
MaterialInterface Material 
The material to apply to the mesh, overriding the one assigned to it (optional).
int Density 
The number of meshes per quad.
float MaxDrawRadius 
The furthest away you will see a mesh.
float MinTransitionRadius 
How far away will the mesh cease to blend/scale in.
float MinScale 
Minimum scale to apply to an instance of the mesh.
float MaxScale 
Maximum scale to apply to an instance of the mesh.
float MinUniformScale 
Minimum scale to apply to all instances of the mesh.
float MaxUniformScale 
Maximum scale to apply to all instances of the mesh.
float MinThinningRadius 
How far away to start thinning out the meshes.
int Seed 
Sets the random distribution of the instances.
float SwayScale 
Multiplier for wind resources.
float AlphaMapThreshold 
The weight of the terrain material above which the foliage is spawned.
float SlopeRotationBlend 
The amount to rotate the mesh to match the slope of the terrain

where it is being placed. If 1.0, the mesh will match the slope exactly.

Default values:

Property Value
MaxDrawRadius 1024.0
MaxScale 1.0
MaxUniformScale 1.0
MinScale 1.0
MinThinningRadius 1024.0
MinUniformScale 1.0
SwayScale 1.0