C# Class fCraft.Drawing.CloudyBrush

Brush that uses 3D perlin noise to create "cloudy" patterns.
Inheritance: IBrush, IBrushInstance
Show file Open project: fragmer/fCraft Class Usage Examples

Private Properties

Property Type Description
MakeInstance IBrushInstance

Public Methods

Method Description
Begin ( Player player, DrawOperation op ) : bool
Clone ( ) : IBrush
CloudyBrush ( ) : System
CloudyBrush ( AbstractPerlinNoiseBrush other ) : System
CloudyBrush ( Block oneBlock, int ratio ) : System
CloudyBrush ( CloudyBrush other ) : System
CloudyBrush ( [ blocks, [ ratios ) : System
End ( ) : void
MakeInstance ( Player player, CommandReader cmd, DrawOperation op ) : IBrushInstance
NextBlock ( DrawOperation op ) : Block
NextSeed ( ) : UInt16

Protected Methods

Method Description
MapAllValues ( float rawValues ) : bool
MapValue ( float rawValue ) : float

Private Methods

Method Description
MakeInstance ( [ player, [ cmd, [ state ) : IBrushInstance

Method Details

Begin() public method

public Begin ( Player player, DrawOperation op ) : bool
player Player
op DrawOperation
return bool

Clone() public method

public Clone ( ) : IBrush
return IBrush

CloudyBrush() public method

public CloudyBrush ( ) : System
return System

CloudyBrush() public method

public CloudyBrush ( AbstractPerlinNoiseBrush other ) : System
other AbstractPerlinNoiseBrush
return System

CloudyBrush() public method

public CloudyBrush ( Block oneBlock, int ratio ) : System
oneBlock Block
ratio int
return System

CloudyBrush() public method

public CloudyBrush ( CloudyBrush other ) : System
other CloudyBrush
return System

CloudyBrush() public method

public CloudyBrush ( [ blocks, [ ratios ) : System
blocks [
ratios [
return System

End() public method

public End ( ) : void
return void

MakeInstance() public method

public MakeInstance ( Player player, CommandReader cmd, DrawOperation op ) : IBrushInstance
player Player
cmd CommandReader
op DrawOperation
return IBrushInstance

MapAllValues() protected method

protected MapAllValues ( float rawValues ) : bool
rawValues float
return bool

MapValue() protected method

protected MapValue ( float rawValue ) : float
rawValue float
return float

NextBlock() public method

public NextBlock ( DrawOperation op ) : Block
op DrawOperation
return Block

NextSeed() public static method

public static NextSeed ( ) : UInt16
return System.UInt16