summaryrefslogtreecommitdiff
path: root/servers/visual_server.h
diff options
context:
space:
mode:
Diffstat (limited to 'servers/visual_server.h')
-rw-r--r--servers/visual_server.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/servers/visual_server.h b/servers/visual_server.h
index cf9fe0fe0b..16f14655df 100644
--- a/servers/visual_server.h
+++ b/servers/visual_server.h
@@ -716,6 +716,7 @@ public:
virtual void instance_attach_object_instance_ID(RID p_instance,ObjectID p_ID)=0;
virtual void instance_set_morph_target_weight(RID p_instance,int p_shape, float p_weight)=0;
virtual void instance_set_surface_material(RID p_instance,int p_surface, RID p_material)=0;
+ virtual void instance_set_visible(RID p_instance,bool p_visible)=0;
virtual void instance_attach_skeleton(RID p_instance,RID p_skeleton)=0;
virtual void instance_set_exterior( RID p_instance, bool p_enabled )=0;
@@ -729,7 +730,6 @@ public:
virtual Vector<ObjectID> instances_cull_convex(const Vector<Plane>& p_convex, RID p_scenario=RID()) const=0;
enum InstanceFlags {
- INSTANCE_FLAG_VISIBLE,
INSTANCE_FLAG_BILLBOARD,
INSTANCE_FLAG_BILLBOARD_FIX_Y,
INSTANCE_FLAG_CAST_SHADOW,