class_surfacetool - dragonsoulz/godot GitHub Wiki
SurfaceTool
####Inherits: Reference ####Category: Core
Brief Description
Helper tool to create geometry.
Member Functions
- void begin ( int primitive )
- void add_vertex ( Vector3 vertex )
- void add_color ( Color color )
- void add_normal ( Vector3 normal )
- void add_tangent ( Plane tangent )
- void add_uv ( Vector2 uv )
- void add_uv2 ( Vector2 uv2 )
- void add_bones ( IntArray bones )
- void add_weights ( RealArray weights )
- void add_smooth_group ( bool smooth )
- void set_material ( Material material )
- void index ( )
- void deindex ( )
- void generate_normals ( )
- Mesh commit ( Mesh existing=Object() )
- void clear ( )
Description
Helper tool to create geometry.