2021-04-20 18:40:24 +02:00
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
2022-02-14 14:18:53 +01:00
|
|
|
<class name="Occluder3D" inherits="Resource" version="4.0" 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>
|
|
|
|
</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>
|