I don't need to test my programs. I have an error-correcting modem.

UE3:TerrainComponent (UDK)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UDK Object >> Component >> ActorComponent >> PrimitiveComponent >> TerrainComponent
Package: 
Engine
This class in other games:
UT3


Properties

BatchMaterials

Type: array<int>

Modifiers: private, const, native, transient


bDisplayCollisionLevel

Type: bool

Modifiers: private, const

Indicates the the terrain collision level should be rendered.

BVTree

Type: TerrainBVTree

Modifiers: private, const, native, transient

Used for in-game collision tests against terrain.

CollisionVertices

Type: array<Object.Vector>

Modifiers: private, const, native, transient

This is a low poly version of the terrain vertices in world space. The triangle data is created based upon Terrain->CollisionTesselationLevel

FullBatch

Type: int

Modifiers: private, const, native, transient


IrrelevantLights

Type: array<Object.Guid>

Modifiers: const

INTERNAL: Array of lights that don't apply to the terrain component.

LightMap

Type: pointer{FLightMap2D}

Modifiers: native, private, const


PatchBatches

Type: array<int>

Modifiers: private, const, native, transient


PatchBatchOffsets

Type: pointer

Modifiers: private, const, native, transient


PatchBatchTriangles

Type: pointer

Modifiers: private, const, native, transient


PatchBounds

Type: array<int>

Modifiers: private, const, native, transient


PatchCachedTessellationValues

Type: pointer

Modifiers: private, const, native, transient


RBHeightfield

Type: pointer

Modifiers: const, native

Physics engine version of heightfield data.

SectionBaseX

Type: int

Modifiers: const


SectionBaseY

Type: int

Modifiers: const


SectionSizeX

Type: int

Modifiers: const


SectionSizeY

Type: int

Modifiers: const


ShadowMaps

Type: array<ShadowMap2D>

Modifiers: private, const

INTERNAL: Array of shadow map data applied to the terrain component.

TerrainObject

Type: pointer

Modifiers: const, native, transient


TesselationLevels

Type: pointer

Modifiers: private, const, native, transient


TrueSectionSizeX

Type: int

Modifiers: const

The actual section size in vertices...

TrueSectionSizeY

Type: int

Modifiers: const


WorkingOffsets

Type: pointer

Modifiers: private, const, native, transient


Default values

Property Value
bAcceptsDecals True
bAcceptsLights True
bAcceptsStaticDecals True
bAllowCullDistanceVolume False
BlockActors True
BlockNonZeroExtent True
BlockRigidBody True
BlockZeroExtent True
bUseAsOccluder True
bUsePrecomputedShadows True
CastShadow True
CollideActors True

Structs

TerrainBVTree

Place holder structure that mirrors the byte size needed for a BV tree.

array<int> Nodes 

TerrainkDOPTree

Place holder structure that mirrors the byte size needed for a kDOP tree

array<int> Nodes 
array<int> Triangles