Skip to content

Commit 3e1e2fe

Browse files
committed
Improved doc comments of clock time.
1 parent 5aab5ab commit 3e1e2fe

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Nu/Nu/World/WorldTypes.fs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1990,11 +1990,13 @@ and [<NoEquality; NoComparison>] World =
19901990
member this.UpdateTime =
19911991
AmbientState.getUpdateTime this.AmbientState
19921992

1993-
/// Get the amount of clock time between this and the previous frame.
1993+
/// Get the amount of clock time (in seconds) between this and the previous frame. Clock time is the primary means
1994+
/// for scaling frame-based phenomena like speeds and impulses.
19941995
member this.ClockDelta =
19951996
AmbientState.getClockDelta this.AmbientState
19961997

1997-
/// Get the amount of clock time that has transpired since the world began advancing.
1998+
/// Get the amount of clock time (in seconds) that has transpired since the world began advancing. Clock time is
1999+
/// the primary means for scaling frame-based phenomena like speeds and impulses.
19982000
member this.ClockTime =
19992001
AmbientState.getClockTime this.AmbientState
20002002

0 commit comments

Comments
 (0)