You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-14 13:41:12 +00:00
Deprecate ImmediateGeometry
* Removed entirely from RenderingServer. * Replaced by ImmediateMesh resource. * ImmediateMesh replaces ImmediateGeometry, but could use more optimization in the future. * Sprite3D and AnimatedSprite3D work again, ported from Godot 3.x (though a lot of work was needed to adapt them to Godot 4). * RootMotionView works again. * Polygon3D editor works again.
This commit is contained in:
@@ -34,8 +34,8 @@
|
||||
#include "editor/editor_node.h"
|
||||
#include "editor/editor_plugin.h"
|
||||
#include "scene/3d/collision_polygon_3d.h"
|
||||
#include "scene/3d/immediate_geometry_3d.h"
|
||||
#include "scene/3d/mesh_instance_3d.h"
|
||||
#include "scene/resources/immediate_mesh.h"
|
||||
|
||||
class CanvasItemEditor;
|
||||
|
||||
@@ -60,7 +60,8 @@ class CollisionPolygon3DEditor : public HBoxContainer {
|
||||
EditorNode *editor;
|
||||
Panel *panel;
|
||||
Node3D *node;
|
||||
ImmediateGeometry3D *imgeom;
|
||||
Ref<ImmediateMesh> imesh;
|
||||
MeshInstance3D *imgeom;
|
||||
MeshInstance3D *pointsm;
|
||||
Ref<ArrayMesh> m;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user