Aldaron's Device Interface has a standardized way of naming API.
Apply a variable onto another.
Multiply by a projection that scales width and height by the smallest widget size. The widget is put at position pos. Position isn't affected by aspect ratio.
Set the background color of Xyz.
This creates a new Xyz, or a connection to device Xyz. Returns: New Xyz.
Use the second 4 values on a vertex as RGB colors.
Set the style to opaque image from ppm data, image.
Apply an orthographic projection ( depth doesn't change x and y position ). Note: The return value is TransformApply.
Apply perspective with fov degrees for field of view. Note: The return value is TransformApply.
Functions related to animations.
pulse_half_linear(): A linear animation with that interpolates between 0 and 1, then jumps back to 0.
pulse_full_linear(): A linear animation with that interpolates between 0 and 1 and back to 0 again.
pulse_half_smooth(): A non-linear ( cosine ) animation with that interpolates between 0 and 1, then jumps back to 0.
pulse_full_smooth(): A non-linear ( cosine ) animation with that interpolates between 0 and 1 and back to 0 again.
Rotate self by yaw, pitch and roll.
Scale self by x, y and z.
Get time passed in seconds, since a call to create().
This sleeps for a fixed interval. Returns: Time actually passed.
Change the style to style for an instance i of a Sprite (self).
Translate self by x, y and z.
Get the width & height of one unit.
Update the state of a variable. Returns: Variable representing user input.
Change the vertices for Sprite self to v.
This sleeps until an event happens. Returns: Total time actually passed.