Vuo
1.2.3
|
An enum defining different types of curves.
Enumerations | |
enum | VuoCurve { VuoCurve_Linear, VuoCurve_Quadratic, VuoCurve_Cubic, VuoCurve_Circular, VuoCurve_Exponential } |
An enum defining different types of curves. More... | |
Functions | |
VuoCurve | VuoCurve_makeFromJson (json_object *js) |
Decodes the JSON object js , expected to contain a string, to create a new VuoCurve . | |
json_object * | VuoCurve_getJson (const VuoCurve value) |
Encodes value as a JSON object. | |
char * | VuoCurve_getSummary (const VuoCurve value) |
Same as VuoCurve_getString () | |
VuoList_VuoCurve | VuoCurve_getAllowedValues (void) |
Returns a list of values that instances of this type can have. | |
VuoReal | VuoReal_curve (VuoReal time, VuoReal startPosition, VuoReal endPosition, VuoReal duration, VuoCurve curve, VuoCurveEasing easing, VuoLoopType loop) |
Returns an interpolated value between startPosition and endPosition . | |
VuoPoint2d | VuoPoint2d_curve (VuoReal time, VuoPoint2d startPosition, VuoPoint2d endPosition, VuoReal duration, VuoCurve curve, VuoCurveEasing easing, VuoLoopType loop) |
Returns an interpolated value between startPosition and endPosition . | |
VuoPoint3d | VuoPoint3d_curve (VuoReal time, VuoPoint3d startPosition, VuoPoint3d endPosition, VuoReal duration, VuoCurve curve, VuoCurveEasing easing, VuoLoopType loop) |
Returns an interpolated value between startPosition and endPosition . | |
VuoCurve | VuoCurve_makeFromString (const char *str) |
Automatically generated function. | |
char * | VuoCurve_getString (const VuoCurve value) |
Automatically generated function. | |
void | VuoCurve_retain (VuoCurve value) |
Automatically generated function. | |
void | VuoCurve_release (VuoCurve value) |
Automatically generated function. | |
enum VuoCurve |
An enum defining different types of curves.
VuoList_VuoCurve VuoCurve_getAllowedValues | ( | void | ) |
Returns a list of values that instances of this type can have.
|
read |
Encodes value
as a JSON object.
char* VuoCurve_getString | ( | const VuoCurve | value | ) |
Automatically generated function.
char * VuoCurve_getSummary | ( | const VuoCurve | value | ) |
Same as VuoCurve_getString
()
VuoCurve VuoCurve_makeFromJson | ( | json_object * | js | ) |
Decodes the JSON object js
, expected to contain a string, to create a new VuoCurve
.
VuoCurve VuoCurve_makeFromString | ( | const char * | str | ) |
Automatically generated function.
void VuoCurve_release | ( | VuoCurve | value | ) |
Automatically generated function.
void VuoCurve_retain | ( | VuoCurve | value | ) |
Automatically generated function.
VuoPoint2d VuoPoint2d_curve | ( | VuoReal | time, |
VuoPoint2d | startPosition, | ||
VuoPoint2d | endPosition, | ||
VuoReal | duration, | ||
VuoCurve | curve, | ||
VuoCurveEasing | easing, | ||
VuoLoopType | loop | ||
) |
Returns an interpolated value between startPosition
and endPosition
.
VuoPoint3d VuoPoint3d_curve | ( | VuoReal | time, |
VuoPoint3d | startPosition, | ||
VuoPoint3d | endPosition, | ||
VuoReal | duration, | ||
VuoCurve | curve, | ||
VuoCurveEasing | easing, | ||
VuoLoopType | loop | ||
) |
Returns an interpolated value between startPosition
and endPosition
.
VuoReal VuoReal_curve | ( | VuoReal | time, |
VuoReal | startPosition, | ||
VuoReal | endPosition, | ||
VuoReal | duration, | ||
VuoCurve | curve, | ||
VuoCurveEasing | easing, | ||
VuoLoopType | loop | ||
) |
Returns an interpolated value between startPosition
and endPosition
.