User Tools

Site Tools


ig.creator:assets:context

Assets/Context

A Context is a global object that may be provide auxiliary functions to simplify the parametric expressions that define dynamic values. Many values such as the position of an object, or it's visibility, are defined by values, either static or dynamic ones. A dynamic value can be specified directly by a JavaScript expression. Alternatively, a method of the Context can be called in the expression. The Context instance itself, is available in the parametric expressions as $c. However inside the context definition, the Context instance itself is available as this.

For each Context entry, a Name (which is the method name) and an Expression must be specified. Additionally, method Parameter(s) can be specified. Multiple parameters must be separated by comma (,).

Please specify the Expression in a way that it is a valid (JavaScript) function body.

ig.creator/assets/context.txt · Last modified: 2024/04/04 08:04 by 127.0.0.1