forked from godotengine/godot
-
Notifications
You must be signed in to change notification settings - Fork 0
class_surfacetool
reduz edited this page May 24, 2014
·
9 revisions
####Inherits: Reference ####Category: Core
Helper tool to create geometry.
- 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 ( )
Helper tool to create geometry.