C# Class Universe.Physics.BulletSPlugin.BSTerrainMesh

Inheritance: BSTerrainPhys
Exibir arquivo Open project: Virtual-Universe/Virtual-Universe Class Usage Examples

Public Methods

Method Description
BSTerrainMesh ( BSScene physicsScene, System.Vector3 regionBase, uint id ) : System
BSTerrainMesh ( BSScene physicsScene, System.Vector3 regionBase, uint id, System.Vector3 regionSize ) : System
BSTerrainMesh ( BSScene physicsScene, System.Vector3 regionBase, uint id, float initialMap, System.Vector3 minCoords, System.Vector3 maxCoords ) : System
ConvertHeightmapToMesh ( BSScene physicsScene, float heightMap, int sizeX, int sizeY, System.Vector3 extentBase, int &indicesCountO, int &indicesO, int &verticesCountO, float &verticesO ) : bool
ConvertHeightmapToMesh2 ( BSScene physicsScene, float heightMap, int sizeX, int sizeY, int magnification, System.Vector3 extent, System.Vector3 extentBase, int &indicesCountO, int &indicesO, int &verticesCountO, float &verticesO ) : bool
Dispose ( ) : void
GetTerrainHeightAtXYZ ( System.Vector3 pos ) : float
GetWaterLevelAtXYZ ( System.Vector3 pos ) : float

Method Details

BSTerrainMesh() public method

public BSTerrainMesh ( BSScene physicsScene, System.Vector3 regionBase, uint id ) : System
physicsScene BSScene
regionBase System.Vector3
id uint
return System

BSTerrainMesh() public method

public BSTerrainMesh ( BSScene physicsScene, System.Vector3 regionBase, uint id, System.Vector3 regionSize ) : System
physicsScene BSScene
regionBase System.Vector3
id uint
regionSize System.Vector3
return System

BSTerrainMesh() public method

public BSTerrainMesh ( BSScene physicsScene, System.Vector3 regionBase, uint id, float initialMap, System.Vector3 minCoords, System.Vector3 maxCoords ) : System
physicsScene BSScene
regionBase System.Vector3
id uint
initialMap float
minCoords System.Vector3
maxCoords System.Vector3
return System

ConvertHeightmapToMesh() public static method

public static ConvertHeightmapToMesh ( BSScene physicsScene, float heightMap, int sizeX, int sizeY, System.Vector3 extentBase, int &indicesCountO, int &indicesO, int &verticesCountO, float &verticesO ) : bool
physicsScene BSScene
heightMap float
sizeX int
sizeY int
extentBase System.Vector3
indicesCountO int
indicesO int
verticesCountO int
verticesO float
return bool

ConvertHeightmapToMesh2() public static method

public static ConvertHeightmapToMesh2 ( BSScene physicsScene, float heightMap, int sizeX, int sizeY, int magnification, System.Vector3 extent, System.Vector3 extentBase, int &indicesCountO, int &indicesO, int &verticesCountO, float &verticesO ) : bool
physicsScene BSScene
heightMap float
sizeX int
sizeY int
magnification int
extent System.Vector3
extentBase System.Vector3
indicesCountO int
indicesO int
verticesCountO int
verticesO float
return bool

Dispose() public method

public Dispose ( ) : void
return void

GetTerrainHeightAtXYZ() public method

public GetTerrainHeightAtXYZ ( System.Vector3 pos ) : float
pos System.Vector3
return float

GetWaterLevelAtXYZ() public method

public GetWaterLevelAtXYZ ( System.Vector3 pos ) : float
pos System.Vector3
return float