Class MyAsteroidGeneratorDefinition
Inheritance
System.Object
MyAsteroidGeneratorDefinition
Assembly: Sandbox.Game.dll
Syntax
[MyDefinitionType]
public class MyAsteroidGeneratorDefinition : MyDefinitionBase
Constructors
MyAsteroidGeneratorDefinition()
Declaration
public MyAsteroidGeneratorDefinition()
Fields
AllowPartialClusterObjectOverlap
Allows objects in clusters to partially overlap (in terms of their AABBs)
Declaration
public bool AllowPartialClusterObjectOverlap
Field Value
Type |
Description |
System.Boolean |
|
ClusterDispersionAbsolute
Enables absolute positioning in cluster
Declaration
public bool ClusterDispersionAbsolute
Field Value
Type |
Description |
System.Boolean |
|
ObjectDensityCluster
Probability that generated object in cluster will be used
Declaration
public double ObjectDensityCluster
Field Value
Type |
Description |
System.Double |
|
ObjectMaxDistanceInClusterMax
Declaration
public int ObjectMaxDistanceInClusterMax
Field Value
Type |
Description |
System.Int32 |
|
ObjectMaxDistanceInClusterMin
Declaration
public int ObjectMaxDistanceInClusterMin
Field Value
Type |
Description |
System.Int32 |
|
ObjectMaxInCluster
Maximal number of asteroids per cluster
Declaration
public int ObjectMaxInCluster
Field Value
Type |
Description |
System.Int32 |
|
ObjectMinDistanceInCluster
Declaration
public int ObjectMinDistanceInCluster
Field Value
Type |
Description |
System.Int32 |
|
ObjectSizeMax
Maximal size of lone asteroids
Declaration
Field Value
Type |
Description |
System.Int32 |
|
ObjectSizeMaxCluster
Maximal size of individual cluster asteroids
Declaration
public int ObjectSizeMaxCluster
Field Value
Type |
Description |
System.Int32 |
|
ObjectSizeMin
Minimal size of lone asteroids
Declaration
Field Value
Type |
Description |
System.Int32 |
|
ObjectSizeMinCluster
Minimal size of individual cluster asteroids
Declaration
public int ObjectSizeMinCluster
Field Value
Type |
Description |
System.Int32 |
|
RotateAsteroids
Declaration
public bool RotateAsteroids
Field Value
Type |
Description |
System.Boolean |
|
SeedClusterTypeProbability
Declaration
public DictionaryReader<MyObjectSeedType, double> SeedClusterTypeProbability
Field Value
SeedTypeProbability
Declaration
public DictionaryReader<MyObjectSeedType, double> SeedTypeProbability
Field Value
SubCells
Declaration
Field Value
Type |
Description |
System.Int32 |
|
SubcellSize
Declaration
Field Value
Type |
Description |
System.Int32 |
|
UseClusterDefAsAsteroid
Backwards comp for incorrect cluster object size
Declaration
public bool UseClusterDefAsAsteroid
Field Value
Type |
Description |
System.Boolean |
|
UseClusterVariableSize
Declaration
public bool UseClusterVariableSize
Field Value
Type |
Description |
System.Boolean |
|
UseGeneratorSeed
Declaration
public bool UseGeneratorSeed
Field Value
Type |
Description |
System.Boolean |
|
UseLinearPowOfTwoSizeDistribution
Declaration
public bool UseLinearPowOfTwoSizeDistribution
Field Value
Type |
Description |
System.Boolean |
|
Version
Declaration
Field Value
Type |
Description |
System.Int32 |
|
Methods
Init(MyObjectBuilder_DefinitionBase)
Declaration
protected override void Init(MyObjectBuilder_DefinitionBase builder)
Parameters
Overrides