ig.creator:products:graphical:interactor
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| ig.creator:products:graphical:interactor [2021/06/04 16:08] – [1) Choosing an Interactor] ig_jsc | ig.creator:products:graphical:interactor [2024/04/04 08:04] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 4: | Line 4: | ||
| You need to select a Product in either [[ig.creator: | You need to select a Product in either [[ig.creator: | ||
| + | |||
| ===== Interactor ===== | ===== Interactor ===== | ||
| An Interactor is a script that animates one or more nodes of the structure. | An Interactor is a script that animates one or more nodes of the structure. | ||
| Line 20: | Line 21: | ||
| ==== 2) Interactor Parameters ==== | ==== 2) Interactor Parameters ==== | ||
| + | An Interactor can have several parameters which give the option to take influence on the interaction. | ||
| + | Interactor parameters needs to be provided by the uploaded scripts, too. Otherwise this table is empty. | ||
| + | |||
| + | Each parameter is defined by the following proporties: | ||
| + | |||
| + | * **Name:** The name of the parameter | ||
| + | * **Type:** The type of the parameter. Parameters can have different the following types: | ||
| + | * Length: Number as length in M | ||
| + | * Integer: Number as integer | ||
| + | * Float: Number as float | ||
| + | * Boolean: Boolean | ||
| + | * String: String | ||
| + | * Material: Material as string | ||
| + | * ArcDEG: Number as degree | ||
| + | * **Description (Default): | ||
| + | * **Value:** The current value of a parameter. This can be a constant or a JavaScript snippet. | ||
| + | |||
| + | |Value {}: false |Set a fix value| | ||
| + | |Value {}: {ComShowComponent === ' | ||
| + | |Value {}: {$c.toggleVisibility()} |JavaScript expression using a function from the Context| | ||
| + | |||
| + | To learn more about using JavaScript expressions and Context functions, see the following links: **Needs to be provided** | ||
| + | |||
| + | ==== 3) Image ==== | ||
| + | An Interactor can have an image that shows and helps understanding the Interactor and its parameters. | ||
| + | The image can be uploaded together with the Interactor script. | ||
| + | ===== Related Topics ===== | ||
| + | * [[igx.kinematics: | ||
| + | * [[ig.creator: | ||
ig.creator/products/graphical/interactor.1622815737.txt.gz · Last modified: 2024/04/04 08:04 (external edit)
