User Tools

Site Tools


ig.creator:products:graphical:interactor

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
ig.creator:products:graphical:interactor [2021/06/04 16:08] ig_jscig.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:products|Products]] or [[ig.creator:assets:commercial|Assets/Commercial]] to enter this page. If no Product is selected, you will be re-directed automatically.  You need to select a Product in either [[ig.creator:products|Products]] or [[ig.creator:assets:commercial|Assets/Commercial]] to enter this page. If no Product is selected, you will be re-directed automatically. 
 +
 ===== 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 18: Line 19:
 :!: Note the small arrow for the drop-down menu on the right side! :!: Note the small arrow for the drop-down menu on the right side!
  
 +==== 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):** The description of the parameter. The default values is shown in brackets.
 +  * **Value:** The current value of a parameter. This can be a constant or a JavaScript snippet.
 +
 +|Value {}: false |Set a fix value|
 +|Value {}: {ComShowComponent === 'Yes'} |Simple JavaScript expression using a Commercial property|
 +|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:info| Kinematics]]
 +  * [[ig.creator:products:graphical:evaluator| Evaluators]]
ig.creator/products/graphical/interactor.1622815711.txt.gz · Last modified: 2024/04/04 08:04 (external edit)