C# Class LibNoise.Builder.ShapeFilter

Shape filter.
Inheritance: IBuilderFilter
Datei anzeigen Open project: everbytes/LibNoise

Protected Properties

Property Type Description
Cache LevelCache
Constant float
PShape IMap2D

Public Methods

Method Description
FilterValue ( int x, int y, float source ) : float

Filter value.

IsFiltered ( int x, int y ) : FilterLevel

Return the filter level at this position

Protected Methods

Method Description
GetGreyscaleLevel ( int x, int y ) : byte

Get greyscale level.

Method Details

FilterValue() public method

Filter value.
public FilterValue ( int x, int y, float source ) : float
x int X.
y int Y.
source float Source.
return float

GetGreyscaleLevel() protected method

Get greyscale level.
protected GetGreyscaleLevel ( int x, int y ) : byte
x int X.
y int Y.
return byte

IsFiltered() public method

Return the filter level at this position
public IsFiltered ( int x, int y ) : FilterLevel
x int
y int
return FilterLevel

Property Details

Cache protected_oe property

protected LevelCache Cache
return LevelCache

Constant protected_oe property

protected float Constant
return float

PShape protected_oe property

The shape image
protected IMap2D PShape
return IMap2D