2022-02-04 23:28:18 +08:00
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
2023-07-06 16:08:05 +08:00
|
|
|
<class name="SphereOccluder3D" inherits="Occluder3D" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
|
2022-02-04 23:28:18 +08:00
|
|
|
<brief_description>
|
2022-02-10 07:25:46 +08:00
|
|
|
Spherical shape for use with occlusion culling in [OccluderInstance3D].
|
2022-02-04 23:28:18 +08:00
|
|
|
</brief_description>
|
|
|
|
<description>
|
2022-02-10 07:25:46 +08:00
|
|
|
[SphereOccluder3D] stores a sphere shape that can be used by the engine's occlusion culling system.
|
|
|
|
See [OccluderInstance3D]'s documentation for instructions on setting up occlusion culling.
|
2022-02-04 23:28:18 +08:00
|
|
|
</description>
|
|
|
|
<tutorials>
|
2023-08-15 18:14:01 +08:00
|
|
|
<link title="Occlusion culling">$DOCS_URL/tutorials/3d/occlusion_culling.html</link>
|
2022-02-04 23:28:18 +08:00
|
|
|
</tutorials>
|
|
|
|
<members>
|
|
|
|
<member name="radius" type="float" setter="set_radius" getter="get_radius" default="1.0">
|
2022-02-10 07:25:46 +08:00
|
|
|
The sphere's radius in 3D units.
|
2022-02-04 23:28:18 +08:00
|
|
|
</member>
|
|
|
|
</members>
|
|
|
|
</class>
|