Skip to content

Commit 09255b7

Browse files
committed
Fix table formatting in time-conversion
1 parent 3ff0459 commit 09255b7

File tree

1 file changed

+30
-30
lines changed

1 file changed

+30
-30
lines changed

docs/general/time-conversion.md

+30-30
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@ The inverse of [`timeToFrames()`](#timetoframes).
2929

3030
#### Parameters
3131

32-
| Parameter | Type | Description |
33-
| --------------- | --------------- | ---------------------------------------------------------- |
34-
| `frames` | Number | The amount of frames to convert.
35-
| `fps` | Number | Optional. The number of frames per second to use to convert. Defaults to `1.0 / thisComp.frameDuration` (the frame rate of the current composition).
32+
| Parameter | Type | Description |
33+
| --------- | ------ | ---------------------------------------------------------------------------------------------------------------------------------------------------- |
34+
| `frames` | Number | The amount of frames to convert. |
35+
| `fps` | Number | Optional. The number of frames per second to use to convert. Defaults to `1.0 / thisComp.frameDuration` (the frame rate of the current composition). |
3636

3737
#### Returns
3838

@@ -50,12 +50,12 @@ Converts the value of `t` to a String representing time in the current Project S
5050

5151
#### Parameters
5252

53-
| Parameter | Type | Description |
54-
| --------------- | --------------- | ---------------------------------------------------------- |
55-
| `t` | Number | Optional. The time (in seconds) to convert. Defaults to `time + thisComp.displayStartTime`.
56-
| `fps` | Number | Optional. Defaults to `1.0 / thisComp.frameDuration` (the frame rate of the current composition).
57-
| `isDuration` | Boolean | Optional. Whether `t` represents a difference between two times, vs an absolute time. Absolute times are rounded down toward negative infinity; durations are rounded away from zero (up for positive values). Defaults to `false`.
58-
| `ntscDropFrame` | Boolean | Optional. If `false`, the result is NTSC non-drop-frame timecode. If `true`, the result is NTSC drop-frame timecode. Defaults to `thisComp.ntscDropFrame`.
53+
| Parameter | Type | Description |
54+
| --------------- | ------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
55+
| `t` | Number | Optional. The time (in seconds) to convert. Defaults to `time + thisComp.displayStartTime`. |
56+
| `fps` | Number | Optional. Defaults to `1.0 / thisComp.frameDuration` (the frame rate of the current composition). |
57+
| `isDuration` | Boolean | Optional. Whether `t` represents a difference between two times, vs an absolute time. Absolute times are rounded down toward negative infinity; durations are rounded away from zero (up for positive values). Defaults to `false`. |
58+
| `ntscDropFrame` | Boolean | Optional. If `false`, the result is NTSC non-drop-frame timecode. If `true`, the result is NTSC drop-frame timecode. Defaults to `thisComp.ntscDropFrame`. |
5959

6060
!!! note
6161
The `ntscDropFrame` argument was added in After Effects CS5.5.
@@ -76,11 +76,11 @@ Converts the value of `t` to a String representing feet of film and frames.
7676

7777
#### Parameters
7878

79-
| Parameter | Type | Description |
80-
| --------------- | --------------- | ---------------------------------------------------------- |
81-
| `t` | Number | Optional. The time (in seconds) to convert. Defaults to `time + thisComp.displayStartTime`.
82-
| `framesPerFoot` | Number | Optional. Specifies the number of frames in one foot of film. Defaults to `16` (the most common rate for 35mm footage).
83-
| `isDuration` | Boolean | Optional. Whether `t` represents a difference between two times, vs an absolute time. Absolute times are rounded down toward negative infinity; durations are rounded away from zero (up for positive values). Defaults to `false`.
79+
| Parameter | Type | Description |
80+
| --------------- | ------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
81+
| `t` | Number | Optional. The time (in seconds) to convert. Defaults to `time + thisComp.displayStartTime`. |
82+
| `framesPerFoot` | Number | Optional. Specifies the number of frames in one foot of film. Defaults to `16` (the most common rate for 35mm footage). |
83+
| `isDuration` | Boolean | Optional. Whether `t` represents a difference between two times, vs an absolute time. Absolute times are rounded down toward negative infinity; durations are rounded away from zero (up for positive values). Defaults to `false`. |
8484

8585
#### Returns
8686

@@ -98,11 +98,11 @@ Converts the value of `t` (some amount of time, in seconds) to an integer number
9898

9999
#### Parameters
100100

101-
| Parameter | Type | Description |
102-
| --------------- | --------------- | ---------------------------------------------------------- |
103-
| `t` | Number | Optional. The time (in seconds) to convert. Defaults to `time + thisComp.displayStartTime`.
104-
| `fps` | Number | Optional. The number of frames per second to use to convert. Defaults to `1.0 / thisComp.frameDuration` (the frame rate of the current composition).
105-
| `isDuration` | Boolean | Optional. Whether `t` represents a difference between two times, vs an absolute time. Absolute times are rounded down toward negative infinity; durations are rounded away from zero (up for positive values). Defaults to `false`.
101+
| Parameter | Type | Description |
102+
| ------------ | ------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
103+
| `t` | Number | Optional. The time (in seconds) to convert. Defaults to `time + thisComp.displayStartTime`. |
104+
| `fps` | Number | Optional. The number of frames per second to use to convert. Defaults to `1.0 / thisComp.frameDuration` (the frame rate of the current composition). |
105+
| `isDuration` | Boolean | Optional. Whether `t` represents a difference between two times, vs an absolute time. Absolute times are rounded down toward negative infinity; durations are rounded away from zero (up for positive values). Defaults to `false`. |
106106

107107
#### Returns
108108

@@ -120,11 +120,11 @@ Converts `t` to a String representing NTSC timecode.
120120

121121
#### Parameters
122122

123-
| Parameter | Type | Description |
124-
| --------------- | --------------- | ---------------------------------------------------------- |
125-
| `t` | Number | Optional. The time (in seconds) to convert. Defaults to `time + thisComp.displayStartTime`.
126-
| `ntscDropFrame` | Boolean | Optional. If `false`, the result is NTSC non-drop-frame timecode. If `true`, the result is NTSC drop-frame timecode. Defaults to `false`.
127-
| `isDuration` | Boolean | Optional. Whether `t` represents a difference between two times, vs an absolute time. Absolute times are rounded down toward negative infinity; durations are rounded away from zero (up for positive values). Defaults to `false`.
123+
| Parameter | Type | Description |
124+
| --------------- | ------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
125+
| `t` | Number | Optional. The time (in seconds) to convert. Defaults to `time + thisComp.displayStartTime`. |
126+
| `ntscDropFrame` | Boolean | Optional. If `false`, the result is NTSC non-drop-frame timecode. If `true`, the result is NTSC drop-frame timecode. Defaults to `false`. |
127+
| `isDuration` | Boolean | Optional. Whether `t` represents a difference between two times, vs an absolute time. Absolute times are rounded down toward negative infinity; durations are rounded away from zero (up for positive values). Defaults to `false`. |
128128

129129
#### Returns
130130

@@ -142,11 +142,11 @@ Converts the value of `t` to a String representing timecode.
142142

143143
#### Parameters
144144

145-
| Parameter | Type | Description |
146-
| --------------- | --------------- | ---------------------------------------------------------- |
147-
| `t` | Number | Optional. The time (in seconds) to convert. Defaults to `time + thisComp.displayStartTime`.
148-
| `timecodeBase` | Number | Optional. Specifies the number of frames in one second. Defaults to `30`.
149-
| `isDuration` | Boolean | Optional. Whether `t` represents a difference between two times, vs an absolute time. Absolute times are rounded down toward negative infinity; durations are rounded away from zero (up for positive values). Defaults to `false`.
145+
| Parameter | Type | Description |
146+
| -------------- | ------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
147+
| `t` | Number | Optional. The time (in seconds) to convert. Defaults to `time + thisComp.displayStartTime`. |
148+
| `timecodeBase` | Number | Optional. Specifies the number of frames in one second. Defaults to `30`. |
149+
| `isDuration` | Boolean | Optional. Whether `t` represents a difference between two times, vs an absolute time. Absolute times are rounded down toward negative infinity; durations are rounded away from zero (up for positive values). Defaults to `false`. |
150150

151151
#### Returns
152152

0 commit comments

Comments
 (0)