Click or drag to resize

MeshDataToolCreateFromSurface Method

Uses specified surface of given Mesh to populate data for MeshDataTool.

Requires Mesh with primitive type .

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public Error CreateFromSurface(
	ArrayMesh mesh,
	int surface
)

Parameters

mesh
Type: GodotArrayMesh

[Missing <param name="mesh"/> documentation for "M:Godot.MeshDataTool.CreateFromSurface(Godot.ArrayMesh,System.Int32)"]

surface
Type: SystemInt32

[Missing <param name="surface"/> documentation for "M:Godot.MeshDataTool.CreateFromSurface(Godot.ArrayMesh,System.Int32)"]

Return Value

Type: Error

[Missing <returns> documentation for "M:Godot.MeshDataTool.CreateFromSurface(Godot.ArrayMesh,System.Int32)"]

See Also