Space Engineers
Classes | Public Member Functions | Public Attributes | Protected Member Functions | Properties | List of all members
Sandbox.Definitions.MyEnvironmentDefinition Class Reference

Global (environment) mergeable definitions More...

Inheritance diagram for Sandbox.Definitions.MyEnvironmentDefinition:
VRage.Game.MyDefinitionBase

Public Member Functions

 MyEnvironmentDefinition ()
 
override MyObjectBuilder_DefinitionBase GetObjectBuilder ()
 
void Merge (MyEnvironmentDefinition src)
 
- Public Member Functions inherited from VRage.Game.MyDefinitionBase
void Init (MyObjectBuilder_DefinitionBase builder, MyModContext modContext)
 
virtual void Postprocess ()
 Override this in case you want to do some postprocessing of the definition before the game starts. More...
 
void Save (string filepath)
 
override string ToString ()
 

Public Attributes

MyFogProperties FogProperties = MyFogProperties.Default
 
MySunProperties SunProperties = MySunProperties.Default
 
MyPostprocessSettings PostProcessSettings = MyPostprocessSettings.Default
 
MySSAOSettings SSAOSettings = MySSAOSettings.Default
 
MyHBAOData HBAOSettings = MyHBAOData.Default
 
float LargeShipMaxSpeed = Defaults.LargeShipMaxSpeed
 
float SmallShipMaxSpeed = Defaults.SmallShipMaxSpeed
 
Color ContourHighlightColor = Defaults.ContourHighlightColor
 
float ContourHighlightThickness = Defaults.ContourHighlightThickness
 
float HighlightPulseInSeconds = Defaults.HighlightPulseInSeconds
 
List< EnvironmentalParticleSettingsEnvironmentalParticles = new List<EnvironmentalParticleSettings>()
 
string EnvironmentTexture = Defaults.EnvironmentTexture
 
MyOrientation EnvironmentOrientation = Defaults.EnvironmentOrientation
 
- Public Attributes inherited from VRage.Game.MyDefinitionBase
MyDefinitionId Id
 
MyStringId DisplayNameEnum
 Enum used for localization of display name. Null for player created definitions. More...
 
MyStringId DescriptionEnum
 Enum used for localization of description. Null for player created definitions. More...
 
String DisplayNameString
 String name used for user created definitions which do not have localization support. More...
 
String DescriptionString
 String used for user created description which do not have localization support. More...
 
string[] Icons
 Icons for the definition, they are used from top to bottom. More...
 
bool Enabled = true
 Definition can be disabled by mod, then it will be removed from definition manager More...
 
bool Public = true
 Indicates if definition should be offered in Cube builder More...
 
bool AvailableInSurvival
 
MyModContext Context
 

Protected Member Functions

override void Init (MyObjectBuilder_DefinitionBase builder)
 

Properties

MyShadowsSettings ShadowSettings [get]
 
MyNewPipelineSettings NewPipelineSettings [get]
 
MyNewLoddingSettings UserLoddingSettings [get]
 
MyNewLoddingSettings LowLoddingSettings [get]
 
MyNewLoddingSettings MediumLoddingSettings [get]
 
MyNewLoddingSettings HighLoddingSettings [get]
 
MyMaterialsSettings MaterialsSettings [get]
 
float LargeShipMaxAngularSpeed [get]
 
float SmallShipMaxAngularSpeed [get]
 
float LargeShipMaxAngularSpeedInRadians [get]
 
float SmallShipMaxAngularSpeedInRadians [get]
 
- Properties inherited from VRage.Game.MyDefinitionBase
virtual String DisplayNameText [get]
 Use this property when showing name in GUI instead of DisplayName. This takes into account more complex name construction. More...
 
virtual String DescriptionText [get]
 Use this property when showing description in GUI, as it takes into account more complex description construction. More...
 

Detailed Description

Global (environment) mergeable definitions

Definition at line 21 of file MyEnvironmentDefinition.cs.

Constructor & Destructor Documentation

Sandbox.Definitions.MyEnvironmentDefinition.MyEnvironmentDefinition ( )
inline

Definition at line 23 of file MyEnvironmentDefinition.cs.

Member Function Documentation

override MyObjectBuilder_DefinitionBase Sandbox.Definitions.MyEnvironmentDefinition.GetObjectBuilder ( )
inlinevirtual

Reimplemented from VRage.Game.MyDefinitionBase.

Definition at line 119 of file MyEnvironmentDefinition.cs.

override void Sandbox.Definitions.MyEnvironmentDefinition.Init ( MyObjectBuilder_DefinitionBase  builder)
inlineprotectedvirtual

Reimplemented from VRage.Game.MyDefinitionBase.

Definition at line 90 of file MyEnvironmentDefinition.cs.

void Sandbox.Definitions.MyEnvironmentDefinition.Merge ( MyEnvironmentDefinition  src)
inline

Definition at line 149 of file MyEnvironmentDefinition.cs.

Member Data Documentation

Color Sandbox.Definitions.MyEnvironmentDefinition.ContourHighlightColor = Defaults.ContourHighlightColor

Definition at line 49 of file MyEnvironmentDefinition.cs.

float Sandbox.Definitions.MyEnvironmentDefinition.ContourHighlightThickness = Defaults.ContourHighlightThickness

Definition at line 50 of file MyEnvironmentDefinition.cs.

List<EnvironmentalParticleSettings> Sandbox.Definitions.MyEnvironmentDefinition.EnvironmentalParticles = new List<EnvironmentalParticleSettings>()

Definition at line 53 of file MyEnvironmentDefinition.cs.

MyOrientation Sandbox.Definitions.MyEnvironmentDefinition.EnvironmentOrientation = Defaults.EnvironmentOrientation

Definition at line 61 of file MyEnvironmentDefinition.cs.

string Sandbox.Definitions.MyEnvironmentDefinition.EnvironmentTexture = Defaults.EnvironmentTexture

Definition at line 60 of file MyEnvironmentDefinition.cs.

MyFogProperties Sandbox.Definitions.MyEnvironmentDefinition.FogProperties = MyFogProperties.Default

Definition at line 34 of file MyEnvironmentDefinition.cs.

MyHBAOData Sandbox.Definitions.MyEnvironmentDefinition.HBAOSettings = MyHBAOData.Default

Definition at line 38 of file MyEnvironmentDefinition.cs.

float Sandbox.Definitions.MyEnvironmentDefinition.HighlightPulseInSeconds = Defaults.HighlightPulseInSeconds

Definition at line 51 of file MyEnvironmentDefinition.cs.

float Sandbox.Definitions.MyEnvironmentDefinition.LargeShipMaxSpeed = Defaults.LargeShipMaxSpeed

Definition at line 47 of file MyEnvironmentDefinition.cs.

MyPostprocessSettings Sandbox.Definitions.MyEnvironmentDefinition.PostProcessSettings = MyPostprocessSettings.Default

Definition at line 36 of file MyEnvironmentDefinition.cs.

float Sandbox.Definitions.MyEnvironmentDefinition.SmallShipMaxSpeed = Defaults.SmallShipMaxSpeed

Definition at line 48 of file MyEnvironmentDefinition.cs.

MySSAOSettings Sandbox.Definitions.MyEnvironmentDefinition.SSAOSettings = MySSAOSettings.Default

Definition at line 37 of file MyEnvironmentDefinition.cs.

MySunProperties Sandbox.Definitions.MyEnvironmentDefinition.SunProperties = MySunProperties.Default

Definition at line 35 of file MyEnvironmentDefinition.cs.

Property Documentation

MyNewLoddingSettings Sandbox.Definitions.MyEnvironmentDefinition.HighLoddingSettings
get

Definition at line 44 of file MyEnvironmentDefinition.cs.

float Sandbox.Definitions.MyEnvironmentDefinition.LargeShipMaxAngularSpeed
get

Definition at line 64 of file MyEnvironmentDefinition.cs.

float Sandbox.Definitions.MyEnvironmentDefinition.LargeShipMaxAngularSpeedInRadians
get

Definition at line 82 of file MyEnvironmentDefinition.cs.

MyNewLoddingSettings Sandbox.Definitions.MyEnvironmentDefinition.LowLoddingSettings
get

Definition at line 42 of file MyEnvironmentDefinition.cs.

MyMaterialsSettings Sandbox.Definitions.MyEnvironmentDefinition.MaterialsSettings
get

Definition at line 45 of file MyEnvironmentDefinition.cs.

MyNewLoddingSettings Sandbox.Definitions.MyEnvironmentDefinition.MediumLoddingSettings
get

Definition at line 43 of file MyEnvironmentDefinition.cs.

MyNewPipelineSettings Sandbox.Definitions.MyEnvironmentDefinition.NewPipelineSettings
get

Definition at line 40 of file MyEnvironmentDefinition.cs.

MyShadowsSettings Sandbox.Definitions.MyEnvironmentDefinition.ShadowSettings
get

Definition at line 39 of file MyEnvironmentDefinition.cs.

float Sandbox.Definitions.MyEnvironmentDefinition.SmallShipMaxAngularSpeed
get

Definition at line 73 of file MyEnvironmentDefinition.cs.

float Sandbox.Definitions.MyEnvironmentDefinition.SmallShipMaxAngularSpeedInRadians
get

Definition at line 86 of file MyEnvironmentDefinition.cs.

MyNewLoddingSettings Sandbox.Definitions.MyEnvironmentDefinition.UserLoddingSettings
get

Definition at line 41 of file MyEnvironmentDefinition.cs.


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