Interface ITerrainSystem
the functionality for a terrain such as loading and determining terrain features and characteristics
Inherited Members
Namespace: Ride.Terrain
Assembly: cs.temp.dll.dll
Syntax
public interface ITerrainSystem : IRideSystem, IApiInject, IIdentity
Properties
Name | Description |
---|---|
attributeSystem | |
navigationSystem |
Methods
Name | Description |
---|---|
ConvertToLatLng(RideVector3) | Converts the scene position to latitude and longitude |
ConvertToLatLng(RideVector3, Int32, Boolean) | |
ConvertToScenePosition(Geospatial.LatLng) | |
ConvertToScenePosition(Double, Double, Int32) | Converts latitude and longitude coordinates to a position in the scene |
DestroyTerrain(ITerrain) | |
DestructTerrain(RideVector3, Single, Single) | Modifies the verticies of the terrain mesh in order to display destruction |
DisableRendering(ITerrain) | Disable Terrain Rendering on the given terrain. This is useful if you have another terrain loaded and you want to swap between them. This only disables the rendering component, so that other components are still loaded. For example any physics components will remain active. |
GetHeightAboveTerrain(RideVector3) | Gets the height above the terrain at the given position Computes the distance between the given position and the terrain floor |
GetTerrainHeight(RideVector3, RideVector3) | |
GetTerrainLayer() | Gets the index of the terrain layer. |
GetTerrainMask() | Gets the layer mask containing only the terrain layer. |
LoadTerrain(LoadTerrainParams) | Loads the terrain with the specified parameters |
LoadTerrain(Int32, String, IProgress<LoadTerrainProgress>) | Loads the terrain with a reduced set of parameters for simplicity |
LoadTerrain(String, String, IProgress<LoadTerrainProgress>) | Loads the terrain with a reduced set of parameters for simplicity |
LoadTrees(String) | Loads trees only. |
QueryPoint(Geospatial.LatLng) | |
QueryPoint(RideVector3) | |
RaycastTerrain(RideRay, out RideRaycastHit) | Performs a ray cast against the terrain |