SurfaceToolAddTriangleFan Method |
Inserts a triangle fan made of array data into Mesh being constructed.
Requires the primitive type be set to .
Namespace:
Godot
Assembly:
GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax public void AddTriangleFan(
Vector3[] vertices,
Vector2[] uvs = null,
Color[] colors = null,
Vector2[] uv2s = null,
Vector3[] normals = null,
Array tangents = null
)
Parameters
- vertices
- Type: GodotVector3
[Missing <param name="vertices"/> documentation for "M:Godot.SurfaceTool.AddTriangleFan(Godot.Vector3[],Godot.Vector2[],Godot.Color[],Godot.Vector2[],Godot.Vector3[],Godot.Collections.Array)"]
- uvs (Optional)
- Type: GodotVector2
If the parameter is null, then the default value is new Vector2[] {} - colors (Optional)
- Type: GodotColor
If the parameter is null, then the default value is new Color[] {} - uv2s (Optional)
- Type: GodotVector2
If the parameter is null, then the default value is new Vector2[] {} - normals (Optional)
- Type: GodotVector3
If the parameter is null, then the default value is new Vector3[] {} - tangents (Optional)
- Type: Godot.CollectionsArray
If the parameter is null, then the default value is new Godot.Collections.Array {}
See Also