Difference between revisions of "CircleShape"

Line 1: Line 1:
 
Circle extends Shape and adds a radius and a local position.
 
Circle extends Shape and adds a radius and a local position.
 
+
== Constructors ==
Create a new circle shape with [[love.physics.newCircleShape]].
+
{{#ask: [[Category:Functions]] [[Constructs::CircleShape]] [[Since::<071]]
 
 
== Functions ==
 
{{#ask: [[Category:Functions]] [[parent::CircleShape]]
 
 
| headers=hide
 
| headers=hide
 +
| default=None.
 
| ?Description
 
| ?Description
 
}}
 
}}
{{#ask: [[Category:Functions]] [[parent::Shape]]
+
== Functions ==
| headers=hide
+
{{#ask: [[Category:Functions]] [[parent::CircleShape]] OR [[parent::Shape]] OR [[parent::Object]] [[Since::<071]]
| ?Description
 
}}
 
{{#ask: [[Category:Functions]] [[parent::Object]]
 
 
| headers=hide
 
| headers=hide
 
| ?Description
 
| ?Description
Line 21: Line 16:
 
== See Also ==
 
== See Also ==
 
* [[parent::love.physics]]
 
* [[parent::love.physics]]
* [[love.physics.newCircleShape]]
 
 
[[Category:Types]]
 
[[Category:Types]]
{{#set:Description=Circle extends Shape and adds a radius and a local position.
+
{{#set:Description=Circle extends Shape and adds a radius and a local position.}}
}}
+
{{#set:Since=000}}
 
== Other Languages ==
 
== Other Languages ==
 
{{i18n|CircleShape}}
 
{{i18n|CircleShape}}

Revision as of 10:55, 25 March 2011

Circle extends Shape and adds a radius and a local position.

Constructors

love.physics.newCircleShapeCreates a new CircleShape.

Functions

BodyBodies are objects with velocity and position.
ChainShapeA ChainShape consists of multiple line segments.
CircleShapeCircle extends Shape and adds a radius and a local position.
CircleShape:getLocalCenterGet the center of the circle in local coordinates.
CircleShape:getPointGets the center point of the circle shape.
CircleShape:getRadiusGets the radius of the circle shape.
CircleShape:getWorldCenterGet the center of the circle in world coordinates.
CircleShape:setPointSets the center point of the circle shape.
CircleShape:setRadiusSets the radius of the circle.
ContactContacts are objects created to manage collisions in worlds.
DataThe superclass of all data.
DecoderAn object which can gradually decode a sound file.
DistanceJointKeeps two bodies at the same distance.
DrawableSuperclass for all things that can be drawn on screen.
EdgeShapeEdgeShape is a line segment.
FileRepresents a file on the filesystem.
FileDataData representing the contents of a file.
FontDefines the shape of characters than can be drawn onto the screen.
FontDataA FontData represents a font.
FramebufferOff-screen render target.
GearJointKeeps bodies together in such a way that they act like gears.
GlyphDataA GlyphData represents a drawable symbol of a font.
ImageDrawable image type.
ImageDataRaw (decoded) image data.
JointAttach multiple bodies together to interact in unique ways.
MouseJointFor controlling objects with the mouse.
Object:typeGets the type of the object as a string.
Object:typeOfChecks whether an object is of a certain type.
ParticleSystemUsed to create cool effects, like fire.
PolygonShapePolygon is a convex polygon with up to 8 sides.
PrismaticJointRestricts relative motion between Bodies to one shared axis.
PulleyJointAllows you to simulate bodies connected through pulleys.
QuadA quadrilateral with texture coordinate information.
RasterizerA Rasterizer represents font data and glyphs.
RevoluteJointAllow two Bodies to revolve around a shared point.
ShapeShapes are objects used to control mass and collisions.
Shape (Français)Les Shapes sont des objets pour contrôler les masses et les collisions.
Shape:computeAABBReturns the points of the bounding box for the transformed shape.
Shape:computeMassComputes the mass properties for the shape.
Shape:destroyExplicitly destroys the Shape.
Shape:getBodyGet the body the shape is attached to.
Shape:getBoundingBoxGets the bounding box of the shape.
Shape:getCategoryGets the categories this shape is a member of.
Shape:getCategoryBitsGets the categories as a 16-bit integer.
Shape:getChildCountReturns the number of children the shape has.
Shape:getDataGet the data set with setData.
Shape:getDensityGets the density of the Shape.
Shape:getFilterDataGets the filter data of the Shape.
Shape:getFrictionGets the friction of this shape.
Shape:getMaskGets which categories this shape should NOT collide with.
... further results

Supertypes

Shape Object

See Also


Other Languages