0.2.0-dev Download ZIP
27 lines ·1.0 KB Raw
| 1 | <?xml version="1.0" encoding="UTF-8" ?> |
| 2 | <class name="Occluder3D" inherits="Resource" api_type="core" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd"> |
| 3 | <brief_description> |
| 4 | Occluder shape resource for use with occlusion culling in [OccluderInstance3D]. |
| 5 | </brief_description> |
| 6 | <description> |
| 7 | [Occluder3D] stores an occluder shape that can be used by the engine's occlusion culling system. |
| 8 | See [OccluderInstance3D]'s documentation for instructions on setting up occlusion culling. |
| 9 | </description> |
| 10 | <tutorials> |
| 11 | <link title="Occlusion culling">$DOCS_URL/tutorials/3d/occlusion_culling.html</link> |
| 12 | </tutorials> |
| 13 | <methods> |
| 14 | <method name="get_indices" qualifiers="const"> |
| 15 | <return type="PackedInt32Array" /> |
| 16 | <description> |
| 17 | Returns the occluder shape's vertex indices. |
| 18 | </description> |
| 19 | </method> |
| 20 | <method name="get_vertices" qualifiers="const"> |
| 21 | <return type="PackedVector3Array" /> |
| 22 | <description> |
| 23 | Returns the occluder shape's vertex positions. |
| 24 | </description> |
| 25 | </method> |
| 26 | </methods> |
| 27 | </class> |