17 lines
753 B
XML
17 lines
753 B
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<class name="CircleShape2D" inherits="Shape2D" version="4.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
|
|
<brief_description>
|
|
A 2D circle shape used for physics collision.
|
|
</brief_description>
|
|
<description>
|
|
A 2D circle shape, intended for use in physics. Usually used to provide a shape for a [CollisionShape2D].
|
|
[b]Performance:[/b] [CircleShape2D] is fast to check collisions against. It is faster than [RectangleShape2D] and [CapsuleShape2D].
|
|
</description>
|
|
<tutorials>
|
|
</tutorials>
|
|
<members>
|
|
<member name="radius" type="float" setter="set_radius" getter="get_radius" default="10.0">
|
|
The circle's radius.
|
|
</member>
|
|
</members>
|
|
</class>
|