Skip to content
0.2.0-dev Download ZIP
17 lines ·755 B Raw
1<?xml version="1.0" encoding="UTF-8" ?>
2<class name="CircleShape2D" inherits="Shape2D" api_type="core" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
3 <brief_description>
4 A 2D circle shape used for physics collision.
5 </brief_description>
6 <description>
7 A 2D circle shape, intended for use in physics. Usually used to provide a shape for a [CollisionShape2D].
8 [b]Performance:[/b] [CircleShape2D] is fast to check collisions against. It is faster than [RectangleShape2D] and [CapsuleShape2D].
9 </description>
10 <tutorials>
11 </tutorials>
12 <members>
13 <member name="radius" type="float" setter="set_radius" getter="get_radius" default="10.0">
14 The circle's radius.
15 </member>
16 </members>
17</class>