|
|
(7 intermediate revisions by the same user not shown) |
Line 1: |
Line 1: |
− | {{newin|[[0.9.0]]|090|type=type}}
| |
| | | |
− | A geometry is a convex polygonal shape with texture coordinate information.
| |
− |
| |
− | Geometries can be used to select part of a texture to draw. In this way, one large [http://en.wikipedia.org/wiki/Texture_atlas texture atlas] can be loaded, and then split up into sub-images.
| |
− |
| |
− | Geometries replace the old [[Quad]] type completely since they can do the same and more.
| |
− |
| |
− | == Constructors ==
| |
− | {{#ask: [[Category:Functions]] [[Constructs::Geometry]]
| |
− | | headers=hide
| |
− | | default=None.
| |
− | | format=template
| |
− | | template=ListingFields
| |
− | | introtemplate=ListingIntro
| |
− | | outrotemplate=ListingOutro
| |
− | | ?Description
| |
− | | ?PrettySince
| |
− | | ?PrettyRemoved
| |
− | }}
| |
− | == Functions ==
| |
− | {{#ask: [[Category:Functions]] [[parent::Geometry||Object]]
| |
− | | headers=hide
| |
− | | format=template
| |
− | | template=ListingFields
| |
− | | introtemplate=ListingIntro
| |
− | | outrotemplate=ListingOutro
| |
− | | ?Description
| |
− | | ?PrettySince
| |
− | | ?PrettyRemoved
| |
− | }}
| |
− | == Supertypes ==
| |
− | * [[parent::Object]]
| |
− | == See Also ==
| |
− | * [[parent::love.graphics]]
| |
− | [[Category:Types]]
| |
− | {{#set:Description=A quadrilateral with texture coordinate information.}}
| |
− | == Other Languages ==
| |
− | {{i18n|Geometry}}
| |
− |
| |
− | --@todo: add [[Concept:Current]] to stuffs when done adding stuffs.
| |