My program doesn't have bugs. It just develops random features.
UE3:FoliageComponent (UT3)
From Unreal Wiki, The Unreal Engine Documentation Site
| Object >> Component >> ActorComponent >> PrimitiveComponent >> FoliageComponent |
Contents |
| This is an auto-generated page and may need human attention. Please remove this tag if the page seems reasonably complete or replace it with the {{expand}} tag if the page is not yet complete. |
Copyright 2007 Epic Games, Inc. All Rights Reserved.
[edit] Properties
[edit] DirectionalStaticLightingScale
Type: float
Array size: 3
Modifiers: const
The scale factors applied to the directional static lighting.
[edit] Instances
Type: array<GatheredFoliageInstance>
Modifiers: const
The component's foliage instances.
[edit] InstanceStaticMesh
Type: StaticMesh
Modifiers: const
The mesh which is drawn for each foliage instance.
[edit] Material
Type: MaterialInterface
Modifiers: const
The material applied to the foliage instance mesh.
[edit] MaxDrawRadius
Type: float
The maximum distance to draw foliage instances at.
[edit] MaxScale
Type: Object.Vector
The minimum scale to draw foliage instances at.
[edit] MinScale
Type: Object.Vector
The minimum scale to draw foliage instances at.
[edit] MinTransitionRadius
Type: float
The minimum distance to start scaling foliage instances away at.
[edit] SimpleStaticLightingScale
Type: float
Array size: 3
Modifiers: const
The scale factors applied to the simple static lighting.
[edit] StaticallyIrrelevantLights
Type: array<Object.Guid>
Modifiers: const
The statically irrelevant lights for all the component's foliage instances.
[edit] StaticallyRelevantLights
Type: array<Object.Guid>
Modifiers: const
The lights included in the foliage's static lighting.
[edit] SwayScale
Type: float
A scale for the effect of wind on the foliage mesh.
[edit] Default values
| Property | Value |
|---|---|
| bAcceptsLights | True |
| bForceDirectLightMap | True |
| bUsePrecomputedShadows | True |
[edit] Structs
[edit] FoliageInstanceBase
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.
[edit] GatheredFoliageInstance
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.
