mirror of
https://github.com/godotengine/godot.git
synced 2024-11-10 14:12:51 +00:00
Unexpose VelocityTracker3D
This commit is contained in:
parent
dbd1524362
commit
da567cb1f9
@ -1,32 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<class name="VelocityTracker3D" inherits="RefCounted" version="4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
|
||||
<brief_description>
|
||||
</brief_description>
|
||||
<description>
|
||||
</description>
|
||||
<tutorials>
|
||||
</tutorials>
|
||||
<methods>
|
||||
<method name="get_tracked_linear_velocity" qualifiers="const">
|
||||
<return type="Vector3" />
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="reset">
|
||||
<return type="void" />
|
||||
<param index="0" name="position" type="Vector3" />
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="update_position">
|
||||
<return type="void" />
|
||||
<param index="0" name="position" type="Vector3" />
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
</methods>
|
||||
<members>
|
||||
<member name="track_physics_step" type="bool" setter="set_track_physics_step" getter="is_tracking_physics_step" default="false">
|
||||
</member>
|
||||
</members>
|
||||
</class>
|
@ -1381,7 +1381,6 @@ static const char *class_renames[][2] = {
|
||||
{ "Spatial", "Node3D" },
|
||||
{ "SpatialGizmo", "Node3DGizmo" },
|
||||
{ "SpatialMaterial", "StandardMaterial3D" },
|
||||
{ "SpatialVelocityTracker", "VelocityTracker3D" },
|
||||
{ "SphereShape", "SphereShape3D" },
|
||||
{ "SpotLight", "SpotLight3D" },
|
||||
{ "SpringArm", "SpringArm3D" },
|
||||
|
@ -34,8 +34,6 @@
|
||||
#include "scene/3d/node_3d.h"
|
||||
|
||||
class VelocityTracker3D : public RefCounted {
|
||||
GDCLASS(VelocityTracker3D, RefCounted);
|
||||
|
||||
struct PositionHistory {
|
||||
uint64_t frame = 0;
|
||||
Vector3 position;
|
||||
|
@ -822,8 +822,6 @@ void register_scene_types() {
|
||||
ClassDB::register_class<SkeletonModification3DStackHolder>();
|
||||
|
||||
OS::get_singleton()->yield(); // may take time to init
|
||||
|
||||
GDREGISTER_CLASS(VelocityTracker3D);
|
||||
#endif
|
||||
|
||||
GDREGISTER_CLASS(PhysicsMaterial);
|
||||
@ -1052,7 +1050,6 @@ void register_scene_types() {
|
||||
ClassDB::add_compatibility_class("Spatial", "Node3D");
|
||||
ClassDB::add_compatibility_class("SpatialGizmo", "Node3DGizmo");
|
||||
ClassDB::add_compatibility_class("SpatialMaterial", "StandardMaterial3D");
|
||||
ClassDB::add_compatibility_class("SpatialVelocityTracker", "VelocityTracker3D");
|
||||
ClassDB::add_compatibility_class("SphereShape", "SphereShape3D");
|
||||
ClassDB::add_compatibility_class("SpotLight", "SpotLight3D");
|
||||
ClassDB::add_compatibility_class("SpringArm", "SpringArm3D");
|
||||
|
Loading…
Reference in New Issue
Block a user