C# Class Willcraftia.Xna.Framework.FloatMapExtension

Mostra file Open project: willcraftia/TestXna

Public Methods

Method Description
Add ( this map, IMap other ) : IMap
Clamp ( this map ) : IMap
Clamp ( this map, float min, float max ) : IMap
CopyTo ( this map, IMap destination ) : void
Divide ( this map, IMap other ) : IMap
Fill ( this map, float value ) : IMap
Max ( this map ) : float
Max ( this map, int startX, int startY, int sizeX, int sizeY ) : float
Min ( this map ) : float
Min ( this map, int startX, int startY, int sizeX, int sizeY ) : float
MinMax ( this map, float &min, float &max ) : void
MinMax ( this map, int startX, int startY, int sizeX, int sizeY, float &min, float &max ) : void
Multiply ( this map, IMap other ) : IMap
Multiply ( this map, float factor ) : IMap
Normalize ( this map ) : IMap
NormalizeSymmetric ( this map ) : IMap
Subtract ( this map, IMap other ) : IMap

Method Details

Add() public static method

public static Add ( this map, IMap other ) : IMap
map this
other IMap
return IMap

Clamp() public static method

public static Clamp ( this map ) : IMap
map this
return IMap

Clamp() public static method

public static Clamp ( this map, float min, float max ) : IMap
map this
min float
max float
return IMap

CopyTo() public static method

public static CopyTo ( this map, IMap destination ) : void
map this
destination IMap
return void

Divide() public static method

public static Divide ( this map, IMap other ) : IMap
map this
other IMap
return IMap

Fill() public static method

public static Fill ( this map, float value ) : IMap
map this
value float
return IMap

Max() public static method

public static Max ( this map ) : float
map this
return float

Max() public static method

public static Max ( this map, int startX, int startY, int sizeX, int sizeY ) : float
map this
startX int
startY int
sizeX int
sizeY int
return float

Min() public static method

public static Min ( this map ) : float
map this
return float

Min() public static method

public static Min ( this map, int startX, int startY, int sizeX, int sizeY ) : float
map this
startX int
startY int
sizeX int
sizeY int
return float

MinMax() public static method

public static MinMax ( this map, float &min, float &max ) : void
map this
min float
max float
return void

MinMax() public static method

public static MinMax ( this map, int startX, int startY, int sizeX, int sizeY, float &min, float &max ) : void
map this
startX int
startY int
sizeX int
sizeY int
min float
max float
return void

Multiply() public static method

public static Multiply ( this map, IMap other ) : IMap
map this
other IMap
return IMap

Multiply() public static method

public static Multiply ( this map, float factor ) : IMap
map this
factor float
return IMap

Normalize() public static method

public static Normalize ( this map ) : IMap
map this
return IMap

NormalizeSymmetric() public static method

public static NormalizeSymmetric ( this map ) : IMap
map this
return IMap

Subtract() public static method

public static Subtract ( this map, IMap other ) : IMap
map this
other IMap
return IMap