28 lines
1.0 KiB
XML
28 lines
1.0 KiB
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<class name="Occluder3D" inherits="Resource" version="4.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
|
|
<brief_description>
|
|
Occluder shape resource for use with occlusion culling in [OccluderInstance3D].
|
|
</brief_description>
|
|
<description>
|
|
[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.
|
|
</description>
|
|
<tutorials>
|
|
<link title="Occlusion culling">$DOCS_URL/tutorials/3d/occlusion_culling.html</link>
|
|
</tutorials>
|
|
<methods>
|
|
<method name="get_indices" qualifiers="const">
|
|
<return type="PackedInt32Array" />
|
|
<description>
|
|
Returns the occluder shape's vertex indices.
|
|
</description>
|
|
</method>
|
|
<method name="get_vertices" qualifiers="const">
|
|
<return type="PackedVector3Array" />
|
|
<description>
|
|
Returns the occluder shape's vertex positions.
|
|
</description>
|
|
</method>
|
|
</methods>
|
|
</class>
|