Click or drag to resize

VisualServerMeshSurfaceGetPrimitiveType Method

Returns the primitive type of a mesh's surface.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public static VisualServerPrimitiveType MeshSurfaceGetPrimitiveType(
	RID mesh,
	int surface
)

Parameters

mesh
Type: GodotRID

[Missing <param name="mesh"/> documentation for "M:Godot.VisualServer.MeshSurfaceGetPrimitiveType(Godot.RID,System.Int32)"]

surface
Type: SystemInt32

[Missing <param name="surface"/> documentation for "M:Godot.VisualServer.MeshSurfaceGetPrimitiveType(Godot.RID,System.Int32)"]

Return Value

Type: VisualServerPrimitiveType

[Missing <returns> documentation for "M:Godot.VisualServer.MeshSurfaceGetPrimitiveType(Godot.RID,System.Int32)"]

See Also