2021-04-20 18:40:24 +02:00
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
2023-07-06 10:08:05 +02:00
|
|
|
<class name="Occluder3D" inherits="Resource" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
|
2021-04-20 18:40:24 +02:00
|
|
|
<brief_description>
|
2022-02-10 00:25:46 +01:00
|
|
|
Occluder shape resource for use with occlusion culling in [OccluderInstance3D].
|
2021-04-20 18:40:24 +02:00
|
|
|
</brief_description>
|
|
|
|
<description>
|
2022-02-10 00:25:46 +01:00
|
|
|
[Occluder3D] stores an occluder shape that can be used by the engine's occlusion culling system.
|
|
|
|
See [OccluderInstance3D]'s documentation for instructions on setting up occlusion culling.
|
2021-04-20 18:40:24 +02:00
|
|
|
</description>
|
|
|
|
<tutorials>
|
2023-08-15 12:14:01 +02:00
|
|
|
<link title="Occlusion culling">$DOCS_URL/tutorials/3d/occlusion_culling.html</link>
|
2021-04-20 18:40:24 +02:00
|
|
|
</tutorials>
|
2022-02-04 16:28:18 +01:00
|
|
|
<methods>
|
|
|
|
<method name="get_indices" qualifiers="const">
|
|
|
|
<return type="PackedInt32Array" />
|
|
|
|
<description>
|
2022-02-10 00:25:46 +01:00
|
|
|
Returns the occluder shape's vertex indices.
|
2022-02-04 16:28:18 +01:00
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="get_vertices" qualifiers="const">
|
|
|
|
<return type="PackedVector3Array" />
|
|
|
|
<description>
|
2022-02-10 00:25:46 +01:00
|
|
|
Returns the occluder shape's vertex positions.
|
2022-02-04 16:28:18 +01:00
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
</methods>
|
2021-04-20 18:40:24 +02:00
|
|
|
</class>
|