Skip to content

TerrainComponent

Class in Engine · Engine.TerrainComponent · native

Object › Component › ActorComponent › PrimitiveComponent › TerrainComponent

Using it from Lua
h7.find_all("TerrainComponent")            -- live instances
h7.find_class("Engine.TerrainComponent")   -- the class

Structs

TerrainBVTree

FieldType
Nodesarray

TerrainMaterialMask

FieldType
BitMaskqword
NumBitsint

TerrainPatchBounds

FieldType
MinHeightfloat
MaxHeightfloat
MaxDisplacementfloat

Properties

NameTypeNotes
BatchMaterialsarray<TerrainMaterialMask>const, transient, native, private
bDisplayCollisionLevelboolconst, private
BVTreeTerrainBVTreeconst, transient, native, private
CollisionVerticesarray<vector>const, transient, native, private
FullBatchintconst, transient, native, private
IrrelevantLightsarray<Guid>const
LightMapLightMapRefconst, native, private
PatchBoundsarray<TerrainPatchBounds>const, transient, native, private
RBHeightfieldpointerconst, native
SectionBaseXintconst
SectionBaseYintconst
SectionSizeXintconst
SectionSizeYintconst
ShadowMapsarray<ShadowMap2D>const, private
TerrainObjectpointerconst, transient, native
TrueSectionSizeXintconst
TrueSectionSizeYintconst

Default values

CollideActors=TRUE
BlockActors=TRUE
BlockZeroExtent=TRUE
BlockNonZeroExtent=TRUE
BlockRigidBody=TRUE
CastShadow=TRUE
bAcceptsLights=TRUE
bAcceptsDecals=TRUE
bAcceptsStaticDecals=TRUE
bUsePrecomputedShadows=TRUE
bUseAsOccluder=TRUE
bAllowCullDistanceVolume=FALSE

Inherited

FromMembers
PrimitiveComponent107 properties, 46 functions
ActorComponent7 properties, 4 functions
Component2 properties, 0 functions
Object13 properties, 308 functions