Description
The Simple Math Interface Asset is an off-the-shelf component of Intuiface that enables users to perform basic math operations within an experience. It runs on all Player-supported platforms, including web deployments, but does not work on Player Classic.
To see what this interface asset can do, drag it into a scene from Composer's Interface Assets panel. The following default template will be displayed.
Properties, triggers, and actions
The Interface Asset contains four actions, each with two parameters: Value 1 and Value 2.
Properties
- Result (read-only): The result of the math operation. If there is an error, it will contain the value NaN - such as when division by zero occurs.
Actions
- Add: Adds Value 1 to Value 2.
- Divide: Divides Value 1 by Value 2. If Value 2 is zero, the Result will be set to NaN ("Not a Number").
- Multiply: Multiplies Value 1 by Value 2.
- Subtract: Subtracts Value2 from Value1.
Comments
0 comments
Please sign in to leave a comment.