C# Класс Willcraftia.Xna.Framework.FloatMapExtension

Показать файл Открыть проект

Открытые методы

Метод Описание
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

Описание методов

Add() публичный статический Метод

public static Add ( this map, IMap other ) : IMap
map this
other IMap
Результат IMap

Clamp() публичный статический Метод

public static Clamp ( this map ) : IMap
map this
Результат IMap

Clamp() публичный статический Метод

public static Clamp ( this map, float min, float max ) : IMap
map this
min float
max float
Результат IMap

CopyTo() публичный статический Метод

public static CopyTo ( this map, IMap destination ) : void
map this
destination IMap
Результат void

Divide() публичный статический Метод

public static Divide ( this map, IMap other ) : IMap
map this
other IMap
Результат IMap

Fill() публичный статический Метод

public static Fill ( this map, float value ) : IMap
map this
value float
Результат IMap

Max() публичный статический Метод

public static Max ( this map ) : float
map this
Результат float

Max() публичный статический Метод

public static Max ( this map, int startX, int startY, int sizeX, int sizeY ) : float
map this
startX int
startY int
sizeX int
sizeY int
Результат float

Min() публичный статический Метод

public static Min ( this map ) : float
map this
Результат float

Min() публичный статический Метод

public static Min ( this map, int startX, int startY, int sizeX, int sizeY ) : float
map this
startX int
startY int
sizeX int
sizeY int
Результат float

MinMax() публичный статический Метод

public static MinMax ( this map, float &min, float &max ) : void
map this
min float
max float
Результат void

MinMax() публичный статический Метод

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
Результат void

Multiply() публичный статический Метод

public static Multiply ( this map, IMap other ) : IMap
map this
other IMap
Результат IMap

Multiply() публичный статический Метод

public static Multiply ( this map, float factor ) : IMap
map this
factor float
Результат IMap

Normalize() публичный статический Метод

public static Normalize ( this map ) : IMap
map this
Результат IMap

NormalizeSymmetric() публичный статический Метод

public static NormalizeSymmetric ( this map ) : IMap
map this
Результат IMap

Subtract() публичный статический Метод

public static Subtract ( this map, IMap other ) : IMap
map this
other IMap
Результат IMap