Values
Integer Boolean
Represents boolean values as an integer. `0` is false, `1` is true.
Vector
Vector data is represented by an array of numbers. This is used any time a property with multiple components is needed.
An example would be a position, which would be represented as an array with two numbers, the first corresponding to the X coordinate and the second corresponding to the Y.
Color
Colors are Vectors with values between 0 and 1 for the RGB components.
for example:
[1, 0, 0]
[1, 0.5, 0]
Note sometimes you might find color values with 4 components (the 4th being alpha) but most players ignore the last component.
Hex Color
Colors represented as a "#"-prefixed string, with two hexadecimal digits per RGB component.
#FF8000
Bezier Shape
Cubic polybezier
Attribute | Type | Title | Description |
---|---|---|---|
c |
boolean |
Closed |
Closed |
i |
array of Vector |
In Tangents |
Array of points, each point is an array of coordinates.
These points are along the |
o |
array of Vector |
Out Tangents |
Array of points, each point is an array of coordinates.
These points are along the |
v |
array of Vector |
Vertices |
Array of points, each point is an array of coordinates. These points are along the bezier path |
Data URL
Data URLs are embedded files (such as images) as defined in [RFC2397](https://datatracker.ietf.org/doc/html/rfc2397).