mirror of
https://github.com/godotengine/godot.git
synced 2024-11-27 09:16:35 +08:00
a4005221f5
[ci skip]
72 lines
1.8 KiB
XML
72 lines
1.8 KiB
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<class name="OccluderPolygon2D" inherits="Resource" category="Core" version="3.0.alpha.custom_build">
|
|
<brief_description>
|
|
</brief_description>
|
|
<description>
|
|
</description>
|
|
<tutorials>
|
|
</tutorials>
|
|
<demos>
|
|
</demos>
|
|
<methods>
|
|
<method name="get_cull_mode" qualifiers="const">
|
|
<return type="int" enum="OccluderPolygon2D.CullMode">
|
|
</return>
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="get_polygon" qualifiers="const">
|
|
<return type="PoolVector2Array">
|
|
</return>
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="is_closed" qualifiers="const">
|
|
<return type="bool">
|
|
</return>
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="set_closed">
|
|
<return type="void">
|
|
</return>
|
|
<argument index="0" name="closed" type="bool">
|
|
</argument>
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="set_cull_mode">
|
|
<return type="void">
|
|
</return>
|
|
<argument index="0" name="cull_mode" type="int" enum="OccluderPolygon2D.CullMode">
|
|
</argument>
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="set_polygon">
|
|
<return type="void">
|
|
</return>
|
|
<argument index="0" name="polygon" type="PoolVector2Array">
|
|
</argument>
|
|
<description>
|
|
</description>
|
|
</method>
|
|
</methods>
|
|
<members>
|
|
<member name="closed" type="bool" setter="set_closed" getter="is_closed">
|
|
</member>
|
|
<member name="cull_mode" type="int" setter="set_cull_mode" getter="get_cull_mode" enum="OccluderPolygon2D.CullMode">
|
|
</member>
|
|
<member name="polygon" type="PoolVector2Array" setter="set_polygon" getter="get_polygon">
|
|
</member>
|
|
</members>
|
|
<constants>
|
|
<constant name="CULL_DISABLED" value="0">
|
|
</constant>
|
|
<constant name="CULL_CLOCKWISE" value="1">
|
|
</constant>
|
|
<constant name="CULL_COUNTER_CLOCKWISE" value="2">
|
|
</constant>
|
|
</constants>
|
|
</class>
|