I'm a doctor, not a mechanic

UE3:TerrainLayerSetup (UDK)

From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 05:48, 17 January 2010 by Wormbo (Talk | contribs) (1 revision: class descriptions for UDK January update (part 5))

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
UDK Object >> TerrainLayerSetup
Package: 
Engine
This class in other games:
UT3

Copyright 1998-2007 Epic Games, Inc. All Rights Reserved.

Properties

Property group 'TerrainLayerSetup'

Materials

Type: array<TerrainFilteredMaterial>

Modifiers: const


Structs

FilterLimit

bool Enabled 
float Base 
float NoiseScale 
float NoiseAmount 

TerrainFilteredMaterial

bool UseNoise 
float NoiseScale 
float NoisePercent 
FilterLimit MinHeight 
FilterLimit MaxHeight 
FilterLimit MinSlope 
FilterLimit MaxSlope 
float Alpha 
TerrainMaterial Material 

Default values:

Property Value
Alpha 1.0

Functions

Native functions

SetMaterials

native final function SetMaterials (array<TerrainFilteredMaterialNewMaterials)

Set the materials used for this layer

Parameters:

  • NewMaterials - the new array of TerrainFilteredMaterials to replace the Materials array with

Note: this function recaches the weight/displacement maps of affected terrain sections and is therefore slow, so use with caution

Other instance functions

PostBeginPlay

simulated function PostBeginPlay ()

called from Terrain::PostBeginPlay() to allow the layer to initialize itself for gameplay

Note: this function will be called once for each terrain the layer is part of