You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2026-01-07 19:53:17 +00:00
Added bindings for methods related to obtaining base an instance from VisualInstance
(cherry picked from commit 33a0011ab2)
This commit is contained in:
committed by
Rémi Verschelde
parent
08113feb5f
commit
fcbe50befa
@@ -43,6 +43,7 @@ class VisualInstance : public Spatial {
|
||||
GDCLASS(VisualInstance, Spatial);
|
||||
OBJ_CATEGORY("3D Visual Nodes");
|
||||
|
||||
RID base;
|
||||
RID instance;
|
||||
uint32_t layers;
|
||||
|
||||
@@ -69,6 +70,7 @@ public:
|
||||
virtual AABB get_transformed_aabb() const; // helper
|
||||
|
||||
void set_base(const RID &p_base);
|
||||
RID get_base() const;
|
||||
|
||||
void set_layer_mask(uint32_t p_mask);
|
||||
uint32_t get_layer_mask() const;
|
||||
|
||||
Reference in New Issue
Block a user