The three virtues of a programmer: Laziness, Impatience, and Hubris. – Larry Wall
UE3:TerrainLayerSetup (UT3)
From Unreal Wiki, The Unreal Engine Documentation Site
Object >> TerrainLayerSetup |
This is an auto-generated page and may need human attention. Please remove the {{autogenerated}} tag if the page seems reasonably complete or replace it with the {{expand}} tag if the page is not yet complete. |
Copyright 1998-2007 Epic Games, Inc. All Rights Reserved.
Properties[edit]
Property group 'TerrainLayerSetup'[edit]
Materials[edit]
Type: array<TerrainFilteredMaterial>
Modifiers: const
Structs[edit]
FilterLimit[edit]
TerrainFilteredMaterial[edit]
- 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[edit]
Native functions[edit]
SetMaterials[edit]
native final function SetMaterials (array<TerrainFilteredMaterial> NewMaterials)
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[edit]
PostBeginPlay[edit]
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