Empeld
Empeld plugin documentation.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events
essentials.Environment.Orbital.Moon Class Reference
Inheritance diagram for essentials.Environment.Orbital.Moon:
pluginbase.Objects.World.Environment.Orbitals.OrbitalRevolutionBase essentials.Environment.IOrbitalGlow pluginbase.Objects.World.Environment.Orbitals.OrbitalBase pluginbase.Objects.World.Environment.IOrbital pluginbase.Objects.World.Environment.IOrbital pluginbase.Objects.World.Environment.IEnvironmentSimulatable pluginbase.Objects.World.Environment.IEnvironmentSimulatable

Public Member Functions

 Moon (float secondsPerCycle, float timeOffset, float inclination, float ascendingRotation)
 
 Moon (float secondsPerCycle, float timeOffset)
 
 Moon (float secondsPerCycle)
 
- Public Member Functions inherited from pluginbase.Objects.World.Environment.Orbitals.OrbitalRevolutionBase
override void Simulate (double time, double x, double y, double z)
 Simulate the environment with the time, and an x/y/z More...
 
- Public Member Functions inherited from pluginbase.Objects.World.Environment.Orbitals.OrbitalBase
 OrbitalBase ()
 Initializes a new instance of the pluginbase.Objects.World.Environment.Orbitals.OrbitalBase class. More...
 

Properties

IResourceResolver ResourceResolver [get, set]
 
override OrbitalRenderMode RenderMode [get]
 
override EnvironmentBlendMode BlendMode [get]
 
override Rgba EmittanceDiffuse [get]
 
override bool HasEmittance [get]
 
override string Resource [get]
 
override float Size [get]
 
override float Rotation [get]
 
float GlowRadius [get]
 
float GlowStrength [get]
 
Rgba GlowColor [get]
 
override int Layer [get]
 
- Properties inherited from pluginbase.Objects.World.Environment.Orbitals.OrbitalRevolutionBase
override Vector3 Direction [get]
 Gets the direction that the object is rendered in Needs to be normalized More...
 
- Properties inherited from pluginbase.Objects.World.Environment.Orbitals.OrbitalBase
virtual OrbitalRenderMode RenderMode [get]
 Gets the render mode of the orbital More...
 
virtual int RenderDetail [get]
 
virtual EnvironmentBlendMode BlendMode [get]
 
virtual Rgba Color [get]
 
virtual bool ReceivesLight [get]
 
virtual bool HasEmittance [get]
 
virtual Rgba EmittanceDiffuse [get]
 
virtual Rgba EmittanceSpecular [get]
 
virtual Rgba EmittanceAmbient [get]
 
virtual Rgba OrbitalEmittance [get]
 
virtual string Resource [get]
 
virtual float Size [get]
 
virtual Vector3 Direction [get]
 
virtual int Layer [get]
 
virtual float Rotation [get]
 
- Properties inherited from pluginbase.Objects.World.Environment.IOrbital
OrbitalRenderMode RenderMode [get]
 Gets the render mode. More...
 
int RenderDetail [get]
 Gets the render detail. Currently only applies to sphere rendering. Default 12 More...
 
Rgba EmittanceDiffuse [get]
 Gets the emittance color for lighting More...
 
Rgba EmittanceAmbient [get]
 Gets the emittance ambient for lighting More...
 
Rgba EmittanceSpecular [get]
 Gets the emmitance specular for lighting More...
 
Rgba OrbitalEmittance [get]
 The color that affects other orbitals. Defaults to emittance More...
 
bool HasEmittance [get]
 Gets a value indicating whether this instance has emittance. More...
 
string Resource [get]
 Gets the resource. In most cases this is a texture More...
 
EnvironmentBlendMode BlendMode [get]
 Gets the blend mode. More...
 
Rgba Color [get]
 Gets the color that the orbital is affected by More...
 
bool ReceivesLight [get]
 Gets a value indicating whether this pluginbase.Objects.World.Environment.IOrbital receives light from other orbitals during environmental rendering More...
 
float Size [get]
 Gets the relative size More...
 
Vector3 Direction [get]
 Gets the direction that the object is rendered in Needs to be normalized More...
 
int Layer [get]
 Gets the layer that the object is drawn on More...
 
float Rotation [get]
 Gets the rotation around the direction More...
 
- Properties inherited from essentials.Environment.IOrbitalGlow
float GlowStrength [get]
 Gets the glow strength. 0-1 More...
 
float GlowRadius [get]
 Gets the glow radius. 0-1. The amount of the hemisphere that's affected More...
 
Rgba GlowColor [get]
 Gets the color of the glow. Defaults to equal emittance More...
 

Additional Inherited Members

- Protected Member Functions inherited from pluginbase.Objects.World.Environment.Orbitals.OrbitalRevolutionBase
 OrbitalRevolutionBase (float secondsPerCycle, float timeOffset, float inclination=MathHelper.Pi, float ascendingRotation=MathHelper.PiOver4, Vector3 offset=default(Vector3))
 Initializes a new instance of the pluginbase.Objects.World.Environment.Orbitals.OrbitalRevolutionBase class. More...
 
- Protected Attributes inherited from pluginbase.Objects.World.Environment.Orbitals.OrbitalRevolutionBase
readonly float TimeMult
 The time multiplier More...
 
readonly float TimeOffset
 The time offset. More...
 

Constructor & Destructor Documentation

essentials.Environment.Orbital.Moon.Moon ( float  secondsPerCycle,
float  timeOffset,
float  inclination,
float  ascendingRotation 
)
15  : base(secondsPerCycle, timeOffset, inclination, ascendingRotation)
16  {
17  this.InjectDependencies();
18  }
essentials.Environment.Orbital.Moon.Moon ( float  secondsPerCycle,
float  timeOffset 
)
21  : this(secondsPerCycle, timeOffset, (float)Math.PI, (float)Math.PI / 2f)
22  {}
essentials.Environment.Orbital.Moon.Moon ( float  secondsPerCycle)
25  : this(secondsPerCycle, (float)Math.PI / 2f)
26  {
27  this.InjectDependencies();
28  }

Property Documentation

override EnvironmentBlendMode essentials.Environment.Orbital.Moon.BlendMode
get
override Rgba essentials.Environment.Orbital.Moon.EmittanceDiffuse
get
Rgba essentials.Environment.Orbital.Moon.GlowColor
get
float essentials.Environment.Orbital.Moon.GlowRadius
get
float essentials.Environment.Orbital.Moon.GlowStrength
get
override bool essentials.Environment.Orbital.Moon.HasEmittance
get
override int essentials.Environment.Orbital.Moon.Layer
get
override OrbitalRenderMode essentials.Environment.Orbital.Moon.RenderMode
get
override string essentials.Environment.Orbital.Moon.Resource
get
IResourceResolver essentials.Environment.Orbital.Moon.ResourceResolver
getsetprotected

Attribute: Dependency

override float essentials.Environment.Orbital.Moon.Rotation
get
override float essentials.Environment.Orbital.Moon.Size
get

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