I search for solutions in this order: Past Code, Unreal Source, Wiki, BUF, groups.yahoo, google, screaming at monitor. – RegularX

UE2:WaterTexture (UT2003)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UT2003 Object >> Material >> RenderedMaterial >> BitmapMaterial >> Texture >> FractalTexture >> WaterTexture
Package: 
Fire
Direct subclasses:
FluidTexture, WaveTexture, WetTexture
This class in other games:
RTNP, U1, UT, UE2Runtime, U2, U2XMP, UT2004

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.

Properties

Property group 'WaterPaint'

DropType

Type: WDrop


FX_Amplitude

Type: byte


FX_Depth

Type: byte


FX_Frequency

Type: byte


FX_Phase

Type: byte


FX_Radius

Type: byte


FX_Size

Type: byte


FX_Speed

Type: byte


FX_Time

Type: byte


WaveAmp

Type: byte


Internal variables

Drops

Type: ADrop

Array size: 256


NumDrops

Type: int


OldWaveAmp

Type: int

Modifiers: transient


RenderTable

Type: byte

Array size: 1028

Modifiers: transient


SourceFields

Type: int

Modifiers: transient


WaterParity

Type: byte

Modifiers: transient


WaterTable

Type: byte

Array size: 1536

Modifiers: transient


Enums

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 

Structs

ADrop

WDrop Type 
Drop type.
byte Depth 
Drop heat.
byte
Spark X location (0 - Xdimension-1).
byte
Spark Y location (0 - Ydimension-1).
byte ByteA 
X-speed.
byte ByteB 
Y-speed.
byte ByteC 
Age, Emitter freq. etc.
byte ByteD 
Exp.Time etc.