1 #ifndef IMMEDIATE_GEOMETRY_H 2 #define IMMEDIATE_GEOMETRY_H 4 #include "scene/3d/visual_instance.h" 5 #include "scene/resources/mesh.h" 18 static void _bind_methods();
22 void begin(Mesh::PrimitiveType p_primitive,
const Ref<Texture>& p_texture);
23 void set_normal(
const Vector3& p_normal);
24 void set_tangent(
const Plane& p_tangent);
25 void set_color(
const Color& p_color);
26 void set_uv(
const Vector2& tex_uv);
27 void set_uv2(
const Vector2& tex_uv);
29 void add_vertex(
const Vector3& p_vertex);
35 void add_sphere(
int p_lats,
int p_lons,
float p_radius);
39 virtual AABB get_aabb()
const;
46 #endif // IMMEDIATE_GEOMETRY_H
Definition: visual_instance.h:84