time
Execution time of the effect, in seconds.
An optional speed input is provided to accelerate the effect. Also, the time can be reset to zero when the filter is toggled as visible
Shader Equivalent
Example
Properties
Property |
Type | Required | If absent | Description |
|---|---|---|---|---|
name |
string | Yes | - | Name of the field. It must be the same as the associated variable in the shader. |
type |
"time" |
Yes | - | - |
description |
string | No | - | Description of the field. It will be shown in the UI. |
devmode |
boolean | No | false |
If set to true, this field will only be available in the property UI if the developer mode is active. |
label |
string | No | "Same as name" |
The label of the field in the UI. If not set, the name will be used. |
reset_on_show |
any | No | false |
If true, the time will be reset to zero when the filter is set visible. If "prompt", let the user decide by showing an input in the property UI. |
speed |
object | No | - | Speed options |
speed.default |
number | No | 1 |
Default value to use in a new filter |
speed.label |
string | No | "Speed" |
If show, name of the input in the properties UI |
speed.max |
number | No | 1 |
Maximum allowed speed |
speed.min |
number | No | 0 |
Minimum allowed speed |
speed.show_ui |
boolean | No | true |
If true, the speed slider will be show in the effects properties |