9
9
10
10
The ** component parameter** object represents a parameter associated with a component, applied to a [ TrackItem object] ( ../item/trackitem.md ) .
11
11
12
- NOTE:
13
- For a developer working across different localizations, it's possible to find the corresponding keys by comparing ZStrings.
14
- Below is an example between En and De. Here are the paths to the files:
12
+ !!! note
13
+ For a developer working across different localizations, it's possible to find the corresponding keys by comparing ZStrings.
15
14
16
- C : Program FilesAdobeAdobe Premiere Pro 2024Dictionariesde_DEzdictionary_PPRO_de_DE.dat ("…anti-Flimmer Filter")
17
-
18
- C : Program FilesAdobeAdobe Premiere Pro 2024Dictionariesen_USzdictionary_PPRO_en_US .dat ("…anti-flicker Filter")
15
+ Below is an example between En and De. Here are the paths to the files:
16
+ `C:\Program Files\Adobe\Adobe Premiere Pro 2024\Dictionaries\de_DE\zdictionary_PPRO_de_DE.dat` - ("…anti-Flimmer Filter")
17
+ `C:\ Program Files\Adobe\Adobe Premiere Pro 2024\Dictionaries\en_DE\zdictionary_PPRO_en_US .dat` - ("…anti-flicker Filter")
19
18
20
19
---
21
20
@@ -53,9 +52,9 @@ Adds a keyframe to the component parameter stream, at the specified time. Note:
53
52
54
53
#### Parameters
55
54
56
- | Argument | Type | Description |
57
- | ------------ | -------------------------------------- | ------------------------------------ |
58
- | ` time ` | [ Time object] ( ../other/time.md ) | When the keyframe should be added. |
55
+ | Argument | Type | Description |
56
+ | -------- | ------------------------------- | ---------------------------------- |
57
+ | ` time ` | [ Time object] ( ../other/time.md ) | When the keyframe should be added. |
59
58
60
59
#### Returns
61
60
@@ -97,14 +96,14 @@ Sets whether the component parameter varies, over time. Note: This can only be s
97
96
98
97
#### Parameters
99
98
100
- | Argument | Type | Description |
101
- | --------------- | -------- | --------------------------------------------------------- |
102
- | ` timeToCheck ` | | Start search from a given time |
103
- | ` threshold ` | | A temporal distance, in either direction, in ** ticks** . |
99
+ | Argument | Type | Description |
100
+ | ------------- | ------- | ------------------------------------------------------- |
101
+ | ` timeToCheck ` | | Start search from a given time |
102
+ | ` threshold ` | Integer | A temporal distance, in either direction, in ** ticks** . |
104
103
105
104
#### Returns
106
105
107
- Returns a ** Time** value, indicating when the closest keyframe is.
106
+ Returns a Time value, indicating when the closest keyframe is.
108
107
109
108
---
110
109
@@ -121,13 +120,13 @@ Returns the keyframe temporally subsequent to the provided `timeToCheck`. Note:
121
120
122
121
#### Parameters
123
122
124
- | Argument | Type | Description |
125
- | --------------- | -------- | --------------------------------- |
126
- | ` timeToCheck ` | | Start search from a given time. |
123
+ | Argument | Type | Description |
124
+ | ------------- | ---- | ------------------------------- |
125
+ | ` timeToCheck ` | | Start search from a given time. |
127
126
128
127
#### Returns
129
128
130
- Returns a ** Time** value, indicating when the closest keyframe is, or ` 0 ` if there is no available subsequent keyframe.
129
+ Returns a Time value, indicating when the closest keyframe is, or ` 0 ` if there is no available subsequent keyframe.
131
130
132
131
---
133
132
@@ -144,13 +143,13 @@ Returns the keyframe temporally previous to the provided `timeToCheck`. Note: Th
144
143
145
144
#### Parameters
146
145
147
- | Argument | Type | Description |
148
- | --------------- | -------- | --------------------------------- |
149
- | ` timeToCheck ` | | Start search from a given time. |
146
+ | Argument | Type | Description |
147
+ | ------------- | ---- | ------------------------------- |
148
+ | ` timeToCheck ` | | Start search from a given time. |
150
149
151
150
#### Returns
152
151
153
- Returns a ** Time** value, indicating when the closest keyframe is, or ` 0 ` if there is no available previous keyframe.
152
+ Returns a Time value, indicating when the closest keyframe is, or ` 0 ` if there is no available previous keyframe.
154
153
155
154
---
156
155
@@ -171,7 +170,7 @@ None.
171
170
172
171
#### Returns
173
172
174
- Returns a ** Color** containing the values found in the component parameter stream, or ` 0 ` if unsuccessful.
173
+ Returns a Color containing the values found in the component parameter stream, or ` 0 ` if unsuccessful.
175
174
176
175
---
177
176
@@ -192,7 +191,7 @@ None.
192
191
193
192
#### Returns
194
193
195
- Returns an ** Array ** of ** Time** values, indicating at what time each keyframe occurs, or ` 0 ` if no keyframes are available.
194
+ Returns an array of Time values, indicating at what time each keyframe occurs, or ` 0 ` if no keyframes are available.
196
195
197
196
---
198
197
@@ -230,9 +229,9 @@ Retrieves the value of the component parameter stream, at the specified keyframe
230
229
231
230
#### Parameters
232
231
233
- | Argument | Type | Description |
234
- | ------------ | -------------------------------------- | ----------------------------------------------------------- |
235
- | ` time ` | [ Time object] ( ../other/time.md ) | A time from which the keyframe value should be retrieved. |
232
+ | Argument | Type | Description |
233
+ | -------- | ------------------------------- | --------------------------------------------------------- |
234
+ | ` time ` | [ Time object] ( ../other/time.md ) | A time from which the keyframe value should be retrieved. |
236
235
237
236
#### Returns
238
237
@@ -253,9 +252,9 @@ Retrieves the value of the component parameter stream, at the specified time. If
253
252
254
253
#### Parameters
255
254
256
- | Argument | Type | Description |
257
- | ------------ | -------------------------------------- | ----------------------------------------------------------- |
258
- | ` time ` | [ Time object] ( ../other/time.md ) | A time from which the keyframe value should be retrieved. |
255
+ | Argument | Type | Description |
256
+ | -------- | ------------------------------- | --------------------------------------------------------- |
257
+ | ` time ` | [ Time object] ( ../other/time.md ) | A time from which the keyframe value should be retrieved. |
259
258
260
259
#### Returns
261
260
@@ -297,9 +296,9 @@ Removes a keyframe on the component parameter stream, at the specified time. Not
297
296
298
297
#### Parameters
299
298
300
- | Argument | Type | Description |
301
- | ------------ | -------------------------------------- | --------------------------------------------------------------- |
302
- | ` time ` | [ Time object] ( ../other/time.md ) | A time value, indicating when the keyframe should be removed. |
299
+ | Argument | Type | Description |
300
+ | -------- | ------------------------------- | ------------------------------------------------------------- |
301
+ | ` time ` | [ Time object] ( ../other/time.md ) | A time value, indicating when the keyframe should be removed. |
303
302
304
303
#### Returns
305
304
@@ -320,10 +319,10 @@ Removes all keyframes from the component parameter stream, between the specified
320
319
321
320
#### Parameters
322
321
323
- | Argument | Type | Description |
324
- | ------------- | -------------------------------------- | -------------------------------------------------------------- |
325
- | ` startTime ` | [ Time object] ( ../other/time.md ) | At what times (inclusive) to begin the removal of keyframes. |
326
- | ` endTime ` | [ Time object] ( ../other/time.md ) | at what times to end the removal of keyframes. |
322
+ | Argument | Type | Description |
323
+ | ----------- | ------------------------------- | -------------------------------------------------------- |
324
+ | ` startTime ` | [ Time object] ( ../other/time.md ) | The times (inclusive) to begin the removal of keyframes. |
325
+ | ` endTime ` | [ Time object] ( ../other/time.md ) | The times to end the removal of keyframes. |
327
326
328
327
#### Returns
329
328
@@ -344,13 +343,13 @@ Sets the values within a component parameter stream, representing a Color.
344
343
345
344
#### Parameters
346
345
347
- | Argument | Type | Description |
348
- | ------------ | -----------| ------------------------------------------------------------|
349
- | ` alpha ` | Integer | Alpha value. |
350
- | ` red ` | Integer | Red value. |
351
- | ` green ` | Integer | Green value. |
352
- | ` blue ` | Integer | Blue value. |
353
- | ` updateUI ` | Integer | Force to update UI after updating the value of the stream. |
346
+ | Argument | Type | Description |
347
+ | ---------- | ------- | ------------------------------------------------------------------------------------- |
348
+ | ` alpha ` | Integer | Alpha value. |
349
+ | ` red ` | Integer | Red value. |
350
+ | ` green ` | Integer | Green value. |
351
+ | ` blue ` | Integer | Blue value. |
352
+ | ` updateUI ` | Integer | If ` 1 ` , will force Premiere Pro to update UI, after updating the value of the stream. |
354
353
355
354
#### Returns
356
355
@@ -360,9 +359,9 @@ Returns `0` if successful.
360
359
361
360
### ComponentParam.setInterpolationTypeAtKey()
362
361
363
- ` app.project.sequences[index].audioTracks[index].clips[index].components[index].properties[index].setInterpolationTypeAtKey(time, interpretationType) `
362
+ ` app.project.sequences[index].audioTracks[index].clips[index].components[index].properties[index].setInterpolationTypeAtKey(time, interpretationType, [updateUI] ) `
364
363
<br />
365
- ` app.project.sequences[index].videoTracks[index].clips[index].components[index].properties[index].setInterpolationTypeAtKey(time, interpretationType) `
364
+ ` app.project.sequences[index].videoTracks[index].clips[index].components[index].properties[index].setInterpolationTypeAtKey(time, interpretationType, [updateUI] ) `
366
365
<br />
367
366
368
367
#### Description
@@ -371,11 +370,11 @@ Specifies the interpolation type to be assigned to the keyframe, at the specifie
371
370
372
371
#### Parameters
373
372
374
- | Argument | Type | Description |
375
- | --------------------- | --------------------------------------| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
376
- | ` time ` | [ Time object] ( ../other/time.md ) | A time of keyframe to modify. |
377
- | ` interpolationType ` | ` type ` | Must be one of the following:< br />< br />- ` 0 ` - ` KF_Interp_Mode_Linear ` <br />- ` 1 ` - ` kfInterpMode_EaseIn_Obsolete ` <br />- ` 2 ` - ` kfInterpMode_EaseOut_Obsolete ` <br />- ` 3 ` - ` kfInterpMode_EaseInEaseOut_Obsolete ` <br />- ` 4 ` - ` KF_Interp_Mode_Hold ` <br />- ` 5 ` - ` KF_Interp_Mode_Bezier ` <br />- ` 6 ` - ` KF_Interp_Mode_Time ` <br />- ` 7 ` - ` kfInterpMode_TimeTransitionStart ` <br />- ` 8 ` - ` kfInterpMode_TimeTransitionEnd ` |
378
- | ` updateUI ` | Boolean | Whether to update UI afterward. |
373
+ | Argument | Type | Description |
374
+ | ------------------- | -- ----------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
375
+ | ` time ` | [ Time object] ( ../other/time.md ) | A time of keyframe to modify. |
376
+ | ` interpolationType ` | ` type ` | One of:< ul >< li > ` 0 ` - ` KF_Interp_Mode_Linear ` </ li >< li > ` 1 ` - ` kfInterpMode_EaseIn_Obsolete ` </ li >< li > ` 2 ` - ` kfInterpMode_EaseOut_Obsolete ` </ li >< li > ` 3 ` - ` kfInterpMode_EaseInEaseOut_Obsolete ` </ li >< li > ` 4 ` - ` KF_Interp_Mode_Hold ` </ li >< li > ` 5 ` - ` KF_Interp_Mode_Bezier ` </ li >< li > ` 6 ` - ` KF_Interp_Mode_Time ` </ li >< li > ` 7 ` - ` kfInterpMode_TimeTransitionStart ` </ li >< li > ` 8 ` - ` kfInterpMode_TimeTransitionEnd ` </ li ></ ul > |
377
+ | ` updateUI ` | Boolean | Whether to update UI afterward. |
379
378
380
379
#### Returns
381
380
@@ -396,9 +395,9 @@ Sets whether the component parameter varies, over time. Note: This can only be s
396
395
397
396
#### Parameters
398
397
399
- | Argument | Type | Description |
400
- | ------------ | ----------- | --------------------------------------------------------------------------- |
401
- | ` varying ` | Boolean | If ` true ` , component parameter will vary over time; if ` false ` , it won't. |
398
+ | Argument | Type | Description |
399
+ | --------- | ------- | ------------------------------------------------------------------------- |
400
+ | ` varying ` | Boolean | If ` true ` , component parameter will vary over time; if ` false ` , it won't. |
402
401
403
402
#### Returns
404
403
@@ -419,9 +418,9 @@ Sets the value of the component parameter stream. Note: This can only work on pa
419
418
420
419
#### Parameters
421
420
422
- | Argument | Type | Description |
423
- | ------------ | ----------- | --------------------------------------------------------------------------------------- |
424
- | ` value ` | | Must be of the appropriate type for the component parameter stream. |
421
+ | Argument | Type | Description |
422
+ | ---------- | ------- | ------------------------------------------------------------------------------------- |
423
+ | ` value ` | | Must be of the appropriate type for the component parameter stream. |
425
424
| ` updateUI ` | Integer | If ` 1 ` , will force Premiere Pro to update UI, after updating the value of the stream. |
426
425
427
426
#### Returns
@@ -443,11 +442,11 @@ Sets the value of the component parameter stream, at the specified keyframe time
443
442
444
443
#### Parameters
445
444
446
- | Argument | Type | Description |
447
- | ------------ | -------------------------------------- | --------------------------------------------------------------------------------------- |
445
+ | Argument | Type | Description |
446
+ | ---------- | ------------------------------- | ------------------------------------------------------------------------------------- |
448
447
| ` time ` | [ Time object] ( ../other/time.md ) | A time at which the keyframe value should be set. |
449
- | ` value ` | | A value to be set. |
450
- | ` updateUI ` | Integer | If ` 1 ` , will force Premiere Pro to update UI, after updating the value of the stream. |
448
+ | ` value ` | | A value to be set. |
449
+ | ` updateUI ` | Integer | If ` 1 ` , will force Premiere Pro to update UI, after updating the value of the stream. |
451
450
452
451
#### Returns
453
452
0 commit comments