Space Engineers
Public Member Functions | Public Attributes | List of all members
VRage.Game.MyPlanetSurfaceRule Class Reference
Inheritance diagram for VRage.Game.MyPlanetSurfaceRule:

Public Member Functions

bool Check (float height, float latitude, float longitude, float slope)
 
object Clone ()
 

Public Attributes

SerializableRange Height = new SerializableRange(0, 1)
 
SymetricSerializableRange Latitude = new SymetricSerializableRange(-90, 90)
 
SerializableRange Longitude = new SerializableRange(-180, 180)
 
SerializableRange Slope = new SerializableRange(0, 90)
 

Detailed Description

Definition at line 145 of file MyObjectBuilder_PlanetGeneratorDefinition.cs.

Member Function Documentation

bool VRage.Game.MyPlanetSurfaceRule.Check ( float  height,
float  latitude,
float  longitude,
float  slope 
)
inline

Check that a rule matches terrain properties.

Parameters
heightHeight ration to the height map.
latitudeLatitude cosine
slopeSurface dominant angle cosine.

Definition at line 166 of file MyObjectBuilder_PlanetGeneratorDefinition.cs.

object VRage.Game.MyPlanetSurfaceRule.Clone ( )
inline

Member Data Documentation

SerializableRange VRage.Game.MyPlanetSurfaceRule.Height = new SerializableRange(0, 1)
SymetricSerializableRange VRage.Game.MyPlanetSurfaceRule.Latitude = new SymetricSerializableRange(-90, 90)
SerializableRange VRage.Game.MyPlanetSurfaceRule.Longitude = new SerializableRange(-180, 180)
SerializableRange VRage.Game.MyPlanetSurfaceRule.Slope = new SerializableRange(0, 90)

The documentation for this class was generated from the following file: