2021-04-21 00:40:24 +08:00
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
2022-02-14 21:18:53 +08:00
|
|
|
<class name="Occluder3D" inherits="Resource" version="4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
|
2021-04-21 00:40:24 +08:00
|
|
|
<brief_description>
|
2022-02-10 07:25:46 +08:00
|
|
|
Occluder shape resource for use with occlusion culling in [OccluderInstance3D].
|
2021-04-21 00:40:24 +08:00
|
|
|
</brief_description>
|
|
|
|
<description>
|
2022-02-10 07:25:46 +08: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-21 00:40:24 +08:00
|
|
|
</description>
|
|
|
|
<tutorials>
|
|
|
|
</tutorials>
|
2022-02-04 23:28:18 +08:00
|
|
|
<methods>
|
|
|
|
<method name="get_indices" qualifiers="const">
|
|
|
|
<return type="PackedInt32Array" />
|
|
|
|
<description>
|
2022-02-10 07:25:46 +08:00
|
|
|
Returns the occluder shape's vertex indices.
|
2022-02-04 23:28:18 +08:00
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="get_vertices" qualifiers="const">
|
|
|
|
<return type="PackedVector3Array" />
|
|
|
|
<description>
|
2022-02-10 07:25:46 +08:00
|
|
|
Returns the occluder shape's vertex positions.
|
2022-02-04 23:28:18 +08:00
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
</methods>
|
2021-04-21 00:40:24 +08:00
|
|
|
</class>
|