class

Godot::SurfaceTool

Inherits Godot::RefCounted < Godot::Object < Reference < Object

Constructors

new(pointer : Pointer(Void) = Pointer(Void).null)
Source

Instance methods

add_index(index : Int64) : Void
Source
add_triangle_fan(vertices : Pointer(Void), uvs : Pointer(Void), colors : Pointer(Void), uv2s : Pointer(Void), normals : Pointer(Void), tangents : Godot::Array) : Void
Source
add_vertex(vertex : Vector3) : Void
Source
append_from(existing : Mesh, surface : Int64, transform : Transform3D) : Void
Source
begin_val(primitive : Int64) : Void
Source
clear
Source
commit(existing : ArrayMesh, flags : Int64) : ArrayMesh
Source
commit_to_arrays
Source
create_from(existing : Mesh, surface : Int64) : Void
Source
create_from_arrays(arrays : Godot::Array, primitive_type : Int64) : Void
Source
create_from_blend_shape(existing : Mesh, surface : Int64, blend_shape : String) : Void
Source
deindex
Source
generate_lod(nd_threshold : Float64, target_index_count : Int64) : Pointer(Void)
Source
generate_normals(flip : Bool) : Void
Source
generate_tangents
Source
get_aabb
Source
get_custom_format(channel_index : Int64) : Int64
Source
get_primitive_type
Source
get_skin_weight_count
Source
index
Source
optimize_indices_for_cache
Source
set_bones(bones : Pointer(Void)) : Void
Source
set_color(color : Color) : Void
Source
set_custom(channel_index : Int64, custom_color : Color) : Void
Source
set_custom_format(channel_index : Int64, format : Int64) : Void
Source
set_material(material : Material) : Void
Source
set_normal(normal : Vector3) : Void
Source
set_skin_weight_count(count : Int64) : Void
Source
set_smooth_group(index : Int64) : Void
Source
set_tangent(tangent : Plane) : Void
Source
set_uv(uv : Vector2) : Void
Source
set_uv2(uv2 : Vector2) : Void
Source
set_weights(weights : Pointer(Void)) : Void
Source

Nested types