Class MyPlanetMaterialPlacementRule
Inheritance
System.Object
MyPlanetMaterialPlacementRule
Assembly: VRage.Game.dll
Syntax
public class MyPlanetMaterialPlacementRule : MyPlanetMaterialDefinition, ICloneable
Constructors
MyPlanetMaterialPlacementRule()
Declaration
public MyPlanetMaterialPlacementRule()
MyPlanetMaterialPlacementRule(MyPlanetMaterialPlacementRule)
Declaration
public MyPlanetMaterialPlacementRule(MyPlanetMaterialPlacementRule copyFrom)
Parameters
Fields
Height
Declaration
public SerializableRange Height
Field Value
Latitude
Declaration
public SymmetricSerializableRange Latitude
Field Value
Longitude
Declaration
public SerializableRange Longitude
Field Value
Slope
Declaration
public SerializableRange Slope
Field Value
Properties
IsRule
Declaration
public override bool IsRule { get; }
Property Value
Type |
Description |
System.Boolean |
|
Overrides
Methods
Check(Single, Single, Single)
Declaration
public bool Check(float height, float latitude, float slope)
Parameters
Type |
Name |
Description |
System.Single |
height |
|
System.Single |
latitude |
|
System.Single |
slope |
|
Returns
Type |
Description |
System.Boolean |
|
Clone()
Declaration
Returns
Type |
Description |
System.Object |
|