You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +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:
@@ -32,12 +32,12 @@
|
||||
#define ROOT_MOTION_VIEW_H
|
||||
|
||||
#include "scene/3d/visual_instance_3d.h"
|
||||
|
||||
#include "scene/resources/immediate_mesh.h"
|
||||
class RootMotionView : public VisualInstance3D {
|
||||
GDCLASS(RootMotionView, VisualInstance3D);
|
||||
|
||||
public:
|
||||
RID immediate;
|
||||
Ref<ImmediateMesh> immediate;
|
||||
NodePath path;
|
||||
float cell_size = 1.0;
|
||||
float radius = 10.0;
|
||||
@@ -46,6 +46,8 @@ public:
|
||||
bool first = true;
|
||||
bool zero_y = true;
|
||||
|
||||
Ref<Material> immediate_material;
|
||||
|
||||
Transform3D accumulated;
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user