I'm a doctor, not a mechanic

UE3:FoliageComponent (UT3)

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

Copyright 2007 Epic Games, Inc. All Rights Reserved.

Properties[edit]

DirectionalStaticLightingScale[edit]

Type: float

Array size: 3

Modifiers: const

The scale factors applied to the directional static lighting.

Instances[edit]

Type: array<GatheredFoliageInstance>

Modifiers: const

The component's foliage instances.

InstanceStaticMesh[edit]

Type: StaticMesh

Modifiers: const

The mesh which is drawn for each foliage instance.

Material[edit]

Type: MaterialInterface

Modifiers: const

The material applied to the foliage instance mesh.

MaxDrawRadius[edit]

Type: float

The maximum distance to draw foliage instances at.

MaxScale[edit]

Type: Object.Vector

The minimum scale to draw foliage instances at.

MinScale[edit]

Type: Object.Vector

The minimum scale to draw foliage instances at.

MinTransitionRadius[edit]

Type: float

The minimum distance to start scaling foliage instances away at.

SimpleStaticLightingScale[edit]

Type: float

Array size: 3

Modifiers: const

The scale factors applied to the simple static lighting.

StaticallyIrrelevantLights[edit]

Type: array<Object.Guid>

Modifiers: const

The statically irrelevant lights for all the component's foliage instances.

StaticallyRelevantLights[edit]

Type: array<Object.Guid>

Modifiers: const

The lights included in the foliage's static lighting.

SwayScale[edit]

Type: float

A scale for the effect of wind on the foliage mesh.

Default values[edit]

Property Value
bAcceptsLights True
bForceDirectLightMap True
bUsePrecomputedShadows True

Structs[edit]

FoliageInstanceBase[edit]

Modifiers: native

Information about an instance of the component's foliage mesh that is common to all foliage instance types.

Object.Vector Location 
The instance's world-space location.
Object.Vector XAxis 
The instance's X Axis.
Object.Vector YAxis 
The instance's Y Axis.
Object.Vector ZAxis 
The instance's Z Axis.

GatheredFoliageInstance[edit]

Extends: FoliageInstanceBase

Modifiers: native

The information for each instance that is gathered during lighting and saved.

Object.Color StaticLighting[4]  
The static lighting received by the instance. The number of coefficients corresponds to NUM_GATHERED_LIGHTMAP_COEF in native.