diff options
author | Bastiaan Olij <mux213@gmail.com> | 2022-12-13 15:13:16 +1100 |
---|---|---|
committer | Bastiaan Olij <mux213@gmail.com> | 2022-12-23 19:30:33 +1100 |
commit | 6f4f38db07c901a8b7dc74ad871af98030336031 (patch) | |
tree | 6d2730e2b086545fa0ca178e20363553756fc6b4 /servers/rendering_server.h | |
parent | db6976eed4c59b3a320cb26938898c732ef6b7ca (diff) |
Added options for sorting transparent objects (port of PR 63040)
Diffstat (limited to 'servers/rendering_server.h')
-rw-r--r-- | servers/rendering_server.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/servers/rendering_server.h b/servers/rendering_server.h index 1d74bb54b9..7c9b750503 100644 --- a/servers/rendering_server.h +++ b/servers/rendering_server.h @@ -1209,6 +1209,7 @@ public: virtual void instance_set_base(RID p_instance, RID p_base) = 0; virtual void instance_set_scenario(RID p_instance, RID p_scenario) = 0; virtual void instance_set_layer_mask(RID p_instance, uint32_t p_mask) = 0; + virtual void instance_set_pivot_data(RID p_instance, float p_sorting_offset, bool p_use_aabb_center) = 0; virtual void instance_set_transform(RID p_instance, const Transform3D &p_transform) = 0; virtual void instance_attach_object_instance_id(RID p_instance, ObjectID p_id) = 0; virtual void instance_set_blend_shape_weight(RID p_instance, int p_shape, float p_weight) = 0; |