Click or drag to resize

VisualServerMakeSphereMesh Method

Returns a mesh of a sphere with the given amount of horizontal and vertical subdivisions.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public static RID MakeSphereMesh(
	int latitudes,
	int longitudes,
	float radius
)

Parameters

latitudes
Type: SystemInt32

[Missing <param name="latitudes"/> documentation for "M:Godot.VisualServer.MakeSphereMesh(System.Int32,System.Int32,System.Single)"]

longitudes
Type: SystemInt32

[Missing <param name="longitudes"/> documentation for "M:Godot.VisualServer.MakeSphereMesh(System.Int32,System.Int32,System.Single)"]

radius
Type: SystemSingle

[Missing <param name="radius"/> documentation for "M:Godot.VisualServer.MakeSphereMesh(System.Int32,System.Int32,System.Single)"]

Return Value

Type: RID

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

See Also