32 proto external
void AffectFoliageEllipse(
vector position,
vector velocity,
float height,
float sizeX,
float sizeZ,
float maskOffset,
float angleRAD,
float strength = 1.0,
float falloffOffset = 0.5,
bool flatten =
true,
bool sway =
true);
59 proto external
void AffectFoliageRect(
vector position,
vector velocity,
float height,
float sizeX,
float sizeZ,
float maskOffset,
float angleRAD,
float strength = 1.0,
float falloffOffset = 0.5,
bool flatten =
true,
bool sway =
true);
102 [
Obsolete(
"Use GetTileSizeTC() instead")]
proto external vector WorldToTerrCoord(vector worldpos)
proto bool TryGetHeightTC(float x, float z, out float y)
proto external vector TerrToWorldCoord(vector terrpos)
proto external void GetTerrainBoundBox(out vector mins, out vector maxs)
proto external void AffectFoliageCircle(vector position, vector velocity, float height, float diameter, float strength=1.0, float falloffOffset=0.5, bool flatten=true, bool sway=true)
proto external int GetTileVerticesCount()
proto external int GetTileSizeTC()
proto external int GetTileNumber(int terrx, int terry)
proto external void AffectFoliageRect(vector position, vector velocity, float height, float sizeX, float sizeZ, float maskOffset, float angleRAD, float strength=1.0, float falloffOffset=0.5, bool flatten=true, bool sway=true)
proto external void AffectFoliageSquare(vector position, vector velocity, float height, float size, float angleRAD, float strength=1.0, float falloffOffset=0.5, bool flatten=true, bool sway=true)
proto bool GetTileTextureResName(int tile, out ResourceName textureResName)
GenericTerrainEntityClass GenericEntityClass AffectFoliageEllipse(vector position, vector velocity, float height, float sizeX, float sizeZ, float maskOffset, float angleRAD, float strength=1.0, float falloffOffset=0.5, bool flatten=true, bool sway=true)