Fix invalid inheritance of `OccluderInstance3D`
This commit is contained in:
parent
b75f0485ba
commit
0ae4298a3a
|
@ -1,5 +1,5 @@
|
||||||
<?xml version="1.0" encoding="UTF-8" ?>
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
<class name="OccluderInstance3D" inherits="Node3D" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
|
<class name="OccluderInstance3D" inherits="VisualInstance3D" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
|
||||||
<brief_description>
|
<brief_description>
|
||||||
Provides occlusion culling for 3D nodes, which improves performance in closed areas.
|
Provides occlusion culling for 3D nodes, which improves performance in closed areas.
|
||||||
</brief_description>
|
</brief_description>
|
||||||
|
|
|
@ -161,7 +161,7 @@ public:
|
||||||
};
|
};
|
||||||
|
|
||||||
class OccluderInstance3D : public VisualInstance3D {
|
class OccluderInstance3D : public VisualInstance3D {
|
||||||
GDCLASS(OccluderInstance3D, Node3D);
|
GDCLASS(OccluderInstance3D, VisualInstance3D);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
Ref<Occluder3D> occluder;
|
Ref<Occluder3D> occluder;
|
||||||
|
|
Loading…
Reference in New Issue