Class in Zendir.Universe | Inherits from UniverseModel

Declaration

class SolarModel;

Description

Defines the behaviour for a solar observer that is able to determine the solar flux of the sun and the eclipse based on the planets at the current position of the attached target. This model can be placed on any particular universe object class.


Properties

DeclaredDescription
FluxFlux at body position.
In_SunPlanetStateMsgA reference to the sun planet message from the simulation thatincludes the sun message.
In_TransformMsgA reference to the current transform of the object that is attachedto this model.
Out_EclipseMsgThe eclipse information at the current point of the simulation at thelocation of the object.
Out_SolarFluxMsgThe solar flux information at the current point of the simulation atthe location of the object.
VisibilityThe factor of visibility between the object and the sun(1.0 being fully visible).
InheritedDescription
IsEnabledIs true if the object is currently enabled.
NameThe display name or tag of this object.
ParentThe currently attached parent object.

Methods

InheritedDescription
DestroyRemoves the current object from the simulation.
FindParentWithIDReturns an attached parent that satisfies the specified ID.
FindParentWithTypeReturns an attached parent that satisfies the specified type.
FindRootWithIDReturns a root object that satisfies the specified ID.
FindRootWithTypeReturns a root object that satisfies the specified type.