Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |
00001 00002 00003 00004 00005 00006 00007 00008 00009 00010 00011 00012 00013 00014 00015 00016 00017 00018 00019 00020 00021 00022 00023 00024 00025 00026 00027 00028 00029 00030 00031 00032 00033 00034 00035 00036 00037 00038 00039 00040 00041 00042 00043 00044 00045 00046 00047 00048 00049 00050 00051 00052 00053 00054 00055 00056 00057 00058 00059 00060 00061 00062 00063 00064 00065 00066 00067 00068 00069 00070 00071 00072 00073 00074 00075 00076 00077 00078 00079 00080 00081 00082 00083 00084 00085 |
/** * Copyright 1998-2008 Epic Games, Inc. All Rights Reserved. */ class FoliageComponent extends PrimitiveComponent native(Foliage); /** Information about an instance of the component's foliage mesh that is common to all foliage instance types. */ struct native FoliageInstanceBase { /** The instance's world-space location. */ var Vector Location; /** The instance's X Axis. */ var Vector XAxis; /** The instance's Y Axis. */ var Vector YAxis; /** The instance's Z Axis. */ var Vector ZAxis; }; /** The information for each instance that is gathered during lighting and saved. */ struct native GatheredFoliageInstance extends FoliageInstanceBase { /** * The static lighting received by the instance. The number of coefficients corresponds to NUM_GATHERED_LIGHTMAP_COEF in native. */ var Color StaticLighting[4]; }; /** The component's foliage instances. */ var const array<GatheredFoliageInstance> Instances; /** The lights included in the foliage's static lighting. */ var const array<guid> StaticallyRelevantLights; /** The statically irrelevant lights for all the component's foliage instances. */ var const array<guid> StaticallyIrrelevantLights; /** The scale factors applied to the directional static lighting. */ var const float DirectionalStaticLightingScale[3]; /** The scale factors applied to the simple static lighting. */ var const float SimpleStaticLightingScale[3]; /** The mesh which is drawn for each foliage instance. */ var const StaticMesh InstanceStaticMesh; /** The material applied to the foliage instance mesh. */ var const MaterialInterface Material; /** The maximum distance to draw foliage instances at. */ var float MaxDrawRadius; /** The minimum distance to start scaling foliage instances away at. */ var float MinTransitionRadius; /** The minimum scale to draw foliage instances at. */ var vector MinScale; /** The minimum scale to draw foliage instances at. */ var vector MaxScale; /** A scale for the effect of wind on the foliage mesh. */ var float SwayScale; // (cpptext) // (cpptext) // (cpptext) // (cpptext) // (cpptext) // (cpptext) // (cpptext) // (cpptext) defaultproperties { bForceDirectLightMap=True bAcceptsLights=True bUsePrecomputedShadows=True Name="Default__FoliageComponent" ObjectArchetype=PrimitiveComponent'Engine.Default__PrimitiveComponent' } |
Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |