Difference between revisions of "Source"
(Removed a see also entry.) |
(Added Object in the hierarchy.) |
||
Line 8: | Line 8: | ||
}} | }} | ||
== Functions == | == Functions == | ||
− | {{#ask: [[Category:Functions]] [[parent::Source]] | + | {{#ask: [[Category:Functions]] [[parent::Source]] OR [[parent::Object]] |
| headers=hide | | headers=hide | ||
| ?Description | | ?Description |
Revision as of 22:28, 16 February 2010
A Source represents audio you can play back. You can do interesting things with Sources, like set the volume, pitch, and its position relative to the listener.
Constructors
love.audio.newQueueableSource | Creates a new Source usable for real-time generated sound playback with Source:queue. |
love.audio.newSource | Creates a new Source from a file, SoundData, or Decoder. |
Functions
BezierCurve | A Bézier curve object that can evaluate and render Bézier curves of arbitrary degree. |
Body | Bodies are objects with velocity and position. |
ByteData | Data object containing arbitrary bytes in an contiguous memory. |
Canvas | Off-screen render target. |
Canvas (Nederlands) | Off-screen render target. |
ChainShape | A ChainShape consists of multiple line segments. |
Channel | An object which can be used to send and receive data between different threads. |
CircleShape | Circle extends Shape and adds a radius and a local position. |
CompressedData | Byte data compressed using a specific algorithm. |
CompressedImageData | Compressed image data designed to stay compressed in RAM and on the GPU. |
Contact | Contacts are objects created to manage collisions in worlds. |
Cursor | Represents a hardware cursor. |
Data | The superclass of all data. |
Decoder | An object which can gradually decode a sound file. |
DistanceJoint | Keeps two bodies at the same distance. |
Drawable | Superclass for all things that can be drawn on screen. |
DroppedFile | Represents a file dropped from the window. |
EdgeShape | EdgeShape is a line segment. |
File | Represents a file on the filesystem. |
FileData | Data representing the contents of a file. |
Fixture | Fixtures attach shapes to bodies. |
Font | Defines the shape of characters than can be drawn onto the screen. |
FontData | A FontData represents a font. |
Framebuffer | Off-screen render target. |
FrictionJoint | A FrictionJoint applies friction to a body. |
GearJoint | Keeps bodies together in such a way that they act like gears. |
GlyphData | A GlyphData represents a drawable symbol of a font. |
GraphicsBuffer | Low-level data stored in graphics memory, including arrays of vertices, vertex indices, and custom collections of data accessible in Shaders. |
Image | Drawable image type. |
ImageData | Raw (decoded) image data. |
Joint | Attach multiple bodies together to interact in unique ways. |
Joystick | Represents a physical joystick. |
Mesh | A 2D polygon mesh used for drawing arbitrary textured shapes. |
MotorJoint | Controls the relative motion between two Bodies |
MouseJoint | For controlling objects with the mouse. |
Object:release | Immediately destroys the object's Lua reference. |
Object:type | Gets the type of the object as a string. |
Object:typeOf | Checks whether an object is of a certain type. |
ParticleSystem | Used to create cool effects, like fire. |
PixelEffect | Pixel shader effect. |
PolygonShape | Polygon is a convex polygon with up to 8 sides. |
PrismaticJoint | Restricts relative motion between Bodies to one shared axis. |
PulleyJoint | Allows you to simulate bodies connected through pulleys. |
Quad | A quadrilateral with texture coordinate information. |
RandomGenerator | A random number generation object which has its own random state. |
Rasterizer | A Rasterizer represents font data and glyphs. |
RecordingDevice | Represents an audio input device capable of recording sounds. |
RevoluteJoint | Allow two Bodies to revolve around a shared point. |
RopeJoint | Enforces a maximum distance between two points on two bodies. |
Shader | Shader effect. |
... further results |