Point
Point class
Represent animation point.
Point
Name | Description |
---|
Point() | Default constructor. |
Returns:
Point
Point
Name | Description |
---|
Point(float, Object, String) | Create animation point with time, value and formula. |
Parameters:
Name | Type | Description |
---|
time | float | Time value. |
value | Object | Point value. |
formula | String | Formula. |
Returns:
Point
Name | Description |
---|
getFormula() | Formulas within values, from, to, by attributes can be made up of these: Standard arithmetic operators: ‘+’, ‘-‘, ‘’, ‘/’, ‘^’, ‘%’ (mod) Constants: ‘pi’ ‘e’ Conditional operators: ‘abs’, ‘min’, ‘max’, ‘?’ (if) Comparison operators: ‘==’, ‘>=’, ‘’, ‘!=’, ‘!’ Trigonometric operators: ‘sin()’, ‘cos()’, ‘tan()’, ‘asin()’, ‘acos()’, ‘atan()’ Natural logarithm ‘ln()’ Property references (host supported properties) for example: “#ppt_x+(cos(-2pi*(1-$))-#ppt_x-sin(-2pi*(1-$))(1-#ppt_y))(1-$)” Read/write String. |
Returns:
String
getTime
Name | Description |
---|
getTime() | Represents time value. Read/write float. |
Returns:
float
getValue
Name | Description |
---|
getValue() | Represents point value. Only: bool, ColorFormat, float, int, string. Read/write Object. |
Returns:
Object
Name | Description |
---|
setFormula(String) | Formulas within values, from, to, by attributes can be made up of these: Standard arithmetic operators: ‘+’, ‘-‘, ‘’, ‘/’, ‘^’, ‘%’ (mod) Constants: ‘pi’ ‘e’ Conditional operators: ‘abs’, ‘min’, ‘max’, ‘?’ (if) Comparison operators: ‘==’, ‘>=’, ‘’, ‘!=’, ‘!’ Trigonometric operators: ‘sin()’, ‘cos()’, ‘tan()’, ‘asin()’, ‘acos()’, ‘atan()’ Natural logarithm ‘ln()’ Property references (host supported properties) for example: “#ppt_x+(cos(-2pi*(1-$))-#ppt_x-sin(-2pi*(1-$))(1-#ppt_y))(1-$)” Read/write String. |
setTime
Name | Description |
---|
setTime(float) | Represents time value. Read/write float. |
setValue
Name | Description |
---|
setValue(Object) | Represents point value. Only: bool, ColorFormat, float, int, string. Read/write Object. |