Click or drag to resize

TimeModel Properties

The TimeModel type exposes the following members.

Properties
  Name Description
Public property Attached
Defines an attached property.
(Inherited from BaseModel.)
Public property Comments
(Development) Includes comments in the XML code.
(Inherited from BaseModel.)
Public property CurrentTime
Returns the current date and time in the simulation.
Public property CurrentTimeSerialized
Public property Code example DataContext
Contains a source of all bindings defined for element.
(Inherited from BaseModel.)
Public property ExternalXmlPath (Inherited from BaseModel.)
Public property Id
Defines a unique identifier for an element in the simulation.
(Inherited from BaseModel.)
Public property IsIdAutogenerated (Inherited from BaseModel.)
Public property Code example IterationsPerSecond
Defines how often the Engine will update the simulation time per simulation second.
Public property StartTime
Defines the start of the simulation date and time.
Public property StartTimeSerialized
Public property TemplateVersionId
Contains a id of source template.
(Inherited from BaseModel.)
Public property TimeLapseMinutes
Determines for how long the TimeLapseMultiplier will be speeding up time.
Public property Code example TimeLapseMultiplier
Speeds up or slows down the time inside the simulation.
Public property TotalMinutesPlayed
Determines total real-time minutes played in the simulation (when loading a save game, this also includes minutes played in previous sessions in the same simulation/save game)
Public property XmlComments
(Development) Used as temporary storage for XML comments (like ) to keep them.
(Inherited from BaseModel.)
Top
See Also