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 00086 00087 00088 00089 00090 00091 00092 00093 00094 00095 00096 00097 00098 00099 00100 00101 00102 00103 00104 00105 00106 00107 00108 00109 00110 00111 00112 00113 00114 00115 00116 00117 00118 00119 00120 00121 |
/** * Copyright 1998-2008 Epic Games, Inc. All Rights Reserved. */ class FoliageFactory extends Volume native(Foliage) placeable; struct native FoliageMesh { var() StaticMesh InstanceStaticMesh; var() MaterialInterface Material; var() float MaxDrawRadius; var() float MinTransitionRadius; var() vector MinScale; var() vector MaxScale; var() float SwayScale; var() int Seed; var() float SurfaceAreaPerInstance; var() bool bCreateInstancesOnBSP; var() bool bCreateInstancesOnStaticMeshes; var() bool bCreateInstancesOnTerrain; var FoliageComponent Component; structdefaultproperties { MaxDrawRadius=2000 MinScale=(X=1,Y=1,Z=1) MaxScale=(X=1,Y=1,Z=1) SwayScale=1.0 SurfaceAreaPerInstance=1000 bCreateInstancesOnBSP=TRUE bCreateInstancesOnStaticMeshes=TRUE bCreateInstancesOnTerrain=TRUE } }; var(Foliage) const array<FoliageMesh> Meshes; /** The radius inside/outside the volume that the foliage density falls off over. */ var(Foliage) const float VolumeFalloffRadius; /** The exponent of the density falloff. */ var(Foliage) const float VolumeFalloffExponent; /** The density of foliage instances on upward facing surfaces. */ var(Foliage) const float SurfaceDensityUpFacing; /** The density of foliage instances on downward facing surfaces. */ var(Foliage) const float SurfaceDensityDownFacing; /** The density of foliage instances on sideways facing surfaces. */ var(Foliage) const float SurfaceDensitySideFacing; /** The falloff exponent for facing dependent density. */ var(Foliage) const float FacingFalloffExponent; /** The maximum number of foliage instances to create from this factory. */ var(Foliage) const int MaxInstanceCount; // (cpptext) // (cpptext) // (cpptext) // (cpptext) // (cpptext) // (cpptext) // (cpptext) // (cpptext) // (cpptext) // (cpptext) // (cpptext) // (cpptext) // (cpptext) // (cpptext) // (cpptext) // (cpptext) // (cpptext) // (cpptext) // (cpptext) // (cpptext) // (cpptext) // (cpptext) // (cpptext) // (cpptext) // (cpptext) // (cpptext) // (cpptext) defaultproperties { VolumeFalloffExponent=1.000000 SurfaceDensityUpFacing=1.000000 SurfaceDensityDownFacing=1.000000 SurfaceDensitySideFacing=1.000000 FacingFalloffExponent=2.000000 MaxInstanceCount=10000 Begin Object Class=BrushComponent Name=BrushComponent0 ObjName=BrushComponent0 Archetype=BrushComponent'Engine.Default__Volume:BrushComponent0' CollideActors=False BlockNonZeroExtent=False ObjectArchetype=BrushComponent'Engine.Default__Volume:BrushComponent0' End Object BrushComponent=BrushComponent0 Components(0)=BrushComponent0 bHidden=False bMovable=False CollisionComponent=BrushComponent0 CollisionType=COLLIDE_CustomDefault Name="Default__FoliageFactory" ObjectArchetype=Volume'Engine.Default__Volume' } |
Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |