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 |
//======================================================================================= // WaterTexture: Base class for fractal water textures. Parent of Wave- and WetTexture. // This is a built-in Unreal class and it shouldn't be modified. //======================================================================================= class WaterTexture extends FractalTexture native noexport abstract; // // Water drops. // enum WDrop { DROP_FixedDepth , // Fixed depth spot, A=depth DROP_PhaseSpot , // Phased depth spot, A=frequency B=phase DROP_ShallowSpot , // Shallower phased depth spot, A=frequency B=phase DROP_HalfAmpl , // Half-amplitude (only 128+ values) DROP_RandomMover , // Randomly moves around DROP_FixedRandomSpot , // Fixed spot with random output DROP_WhirlyThing , // Moves in small circles, A=speed B=depth DROP_BigWhirly , // Moves in large circles, A=speed B=depth DROP_HorizontalLine , // Horizontal line segment DROP_VerticalLine , // Vertical line segment DROP_DiagonalLine1 , // Diagonal '/' DROP_DiagonalLine2 , // Diagonal '\' DROP_HorizontalOsc , // Horizontal oscillating line segment DROP_VerticalOsc , // Vertical oscillating line segment DROP_DiagonalOsc1 , // Diagonal oscillating '/' DROP_DiagonalOsc2 , // Diagonal oscillating '\' DROP_RainDrops , // General random raindrops, A=depth B=distribution radius DROP_AreaClamp , // Clamp spots to indicate shallow/dry areas DROP_LeakyTap , DROP_DrippyTap , }; // // Information about a single drop. // struct ADrop { var WDrop Type; // Drop type. var byte Depth; // Drop heat. var byte X; // Spark X location (0 - Xdimension-1). var byte Y; // Spark Y location (0 - Ydimension-1). var byte ByteA; // X-speed. var byte ByteB; // Y-speed. var byte ByteC; // Age, Emitter freq. etc. var byte ByteD; // Exp.Time etc. }; // // Water parameters. // var(WaterPaint) WDrop DropType; var(WaterPaint) byte WaveAmp; var(WaterPaint) byte FX_Frequency; var(WaterPaint) byte FX_Phase; var(WaterPaint) byte FX_Amplitude; var(WaterPaint) byte FX_Speed; var(WaterPaint) byte FX_Radius; var(WaterPaint) byte FX_Size; var(WaterPaint) byte FX_Depth; var(WaterPaint) byte FX_Time; var int NumDrops; var ADrop Drops[256]; var transient int SourceFields; var transient byte RenderTable[1028]; var transient byte WaterTable[1536]; var transient byte WaterParity; var transient int OldWaveAmp; defaultproperties { } |
Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |