UE3:TerrainMaterial (UDK)

From Unreal Wiki, The Unreal Engine Documentation Site
UDK Object >> TerrainMaterial
Package:
Engine
This class in other games:


Properties

Property group 'Displacement'

DisplacementMap

Type: Texture2D

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

DisplacementScale

Type: float

The amount to sacle the displacement texture by.

Default value: 0.25

Property group 'Foliage'

FoliageMeshes

Type: array<TerrainFoliageMesh>

Foliage meshes to apply (optional).

Property group 'Material'

MappingPanU

Type: float

Offset to apply to the mapping along U.

MappingPanV

Type: float

Offset to apply to the mapping along V.

MappingRotation

Type: float

Rotation to apply to the mapping.

MappingScale

Type: float

Uniform scale to apply to the mapping.

Default value: 4.0

MappingType

Type: ETerrainMappingType

Determines the mapping place to use on the terrain.

Material

Type: MaterialInterface

The Material to apply to the terrain.

Internal variables

LocalToMapping

Type: Object.Matrix


Enums

ETerrainMappingType

TMT_Auto
TMT_XY
TMT_XZ
TMT_YZ

Structs

TerrainFoliageMesh

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