0.2.0-dev Download ZIP
18 lines ·838 B Raw
| 1 | <?xml version="1.0" encoding="UTF-8" ?> |
| 2 | <class name="SphereOccluder3D" inherits="Occluder3D" api_type="core" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd"> |
| 3 | <brief_description> |
| 4 | Spherical shape for use with occlusion culling in [OccluderInstance3D]. |
| 5 | </brief_description> |
| 6 | <description> |
| 7 | [SphereOccluder3D] stores a sphere 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 | <members> |
| 14 | <member name="radius" type="float" setter="set_radius" getter="get_radius" default="1.0"> |
| 15 | The sphere's radius in 3D units. |
| 16 | </member> |
| 17 | </members> |
| 18 | </class> |