Click or drag to resize

ModelTime Structure

Represents Model Time. Implemented internally as Fixed, ie in 100ns steps.

Namespace:  Demo3D.EventQueue
Assembly:  Demo3D.EventQueue (in Demo3D.EventQueue.dll) Version: 11.0.0.7658
Syntax
C#
public struct ModelTime

The ModelTime type exposes the following members.

Properties
  NameDescription
Public propertyToDuration
Convert model time to duration.
Public propertyToFixed
Convert model time to seconds.
Public propertyToSeconds
Convert model time to seconds.
Top
Methods
  NameDescription
Public methodEquals
Determines whether two times are equal.
(Overrides ValueTypeEquals(Object).)
Public methodStatic memberFromDuration
Convert a duration to a model time.
Public methodStatic memberFromFixed
Convert seconds to model time.
Public methodStatic memberFromSeconds
Convert seconds to model time.
Public methodGetHashCode
Returns the hash code for this instance.
(Overrides ValueTypeGetHashCode.)
Public methodToString
Returns a printable string represenatation of this instance.
(Overrides ValueTypeToString.)
Top
Fields
  NameDescription
Public fieldStatic memberHundredMs
Hundred milliseconds.
Public fieldStatic memberMaxValue
Positive infinity seconds.
Public fieldStatic memberMinValue
Negative infinity seconds.
Public fieldStatic memberOneMs
One millisecond.
Public fieldStatic memberOneS
One second.
Public fieldStatic memberTenMs
Ten milliseconds.
Public fieldStatic memberZero
Zero seconds.
Top
See Also