Skip to content

SpeedTreeComponent

Class in Engine · Engine.SpeedTreeComponent · native, editinlinenew

Object › Component › ActorComponent › PrimitiveComponent › SpeedTreeComponent

Using it from Lua
h7.find_all("SpeedTreeComponent")            -- live instances
h7.find_class("Engine.SpeedTreeComponent")   -- the class
h7.hook("Engine.SpeedTreeComponent.GetMaterial", fn)

Enums

ESpeedTreeMeshType

STMT_MinMinusOne = 0, STMT_Branches1 = 1, STMT_Branches2 = 2, STMT_Fronds = 3, STMT_LeafCards = 4, STMT_LeafMeshes = 5, STMT_Billboards = 6, STMT_Max = 7

Structs

SpeedTreeStaticLight

FieldType
GuidGuid
BranchShadowMapShadowMap1D
FrondShadowMapShadowMap1D
LeafMeshShadowMapShadowMap1D
LeafCardShadowMapShadowMap1D
BillboardShadowMapShadowMap1D

Properties

NameTypeNotes
BillboardLightMapLightMapRefconst, native, private
BillboardMaterialMaterialInterface
Branch1MaterialMaterialInterface
Branch2MaterialMaterialInterface
BranchLightMapLightMapRefconst, native, private
bUseBillboardsbool
bUseBranchesbool
bUseFrondsbool
bUseLeafCardsbool
bUseLeafMeshesbool
FrondLightMapLightMapRefconst, native, private
FrondMaterialMaterialInterface
LeafCardLightMapLightMapRefconst, native, private
LeafCardMaterialMaterialInterface
LeafMeshLightMapLightMapRefconst, native, private
LeafMeshMaterialMaterialInterface
LightmassSettingsLightmassPrimitiveSettings
Lod3DEndfloat
Lod3DStartfloat
LodBillboardEndfloat
LodBillboardStartfloat
LodLevelOverridefloat
RotationOnlyMatrixMatrixconst, native, private
SpeedTreeSpeedTreeconst
SpeedTreeIconTexture2Dprivate
StaticLightsarray<SpeedTreeStaticLight>const, private

Functions

NameDeclaration
GetMaterialnative function MaterialInterface GetMaterial(ESpeedTreeMeshType MeshType)
SetMaterialnative function SetMaterial(ESpeedTreeMeshType MeshType, MaterialInterface Material)

Default values

bUseLeafCards       = TRUE
bUseLeafMeshes      = TRUE
bUseBranches        = TRUE
bUseFronds          = TRUE
bUseBillboards      = TRUE
Lod3DStart          = 500.0f
Lod3DEnd            = 3000.0f
LodBillboardStart   = 3500.0f
LodBillboardEnd     = 4000.0f
LodLevelOverride    = 1.0f
SpeedTreeIcon       = Texture2D'EditorResources.SpeedTreeLogo'
CollideActors       = TRUE
BlockActors         = TRUE
BlockRigidBody      = TRUE
BlockZeroExtent     = TRUE
BlockNonZeroExtent  = TRUE
bUseAsOccluder      = TRUE
CastShadow          = TRUE
bAcceptsLights      = TRUE
bUsePrecomputedShadows = TRUE

Inherited

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