Click or drag to resize

VisualServerMeshAddSurfaceFromArrays Method

Adds a surface generated from the Arrays to a mesh. See VisualServerPrimitiveType constants for types.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public static void MeshAddSurfaceFromArrays(
	RID mesh,
	VisualServerPrimitiveType primitive,
	Array arrays,
	Array blendShapes = null,
	uint compressFormat = 97280
)

Parameters

mesh
Type: GodotRID

[Missing <param name="mesh"/> documentation for "M:Godot.VisualServer.MeshAddSurfaceFromArrays(Godot.RID,Godot.VisualServer.PrimitiveType,Godot.Collections.Array,Godot.Collections.Array,System.UInt32)"]

primitive
Type: GodotVisualServerPrimitiveType

[Missing <param name="primitive"/> documentation for "M:Godot.VisualServer.MeshAddSurfaceFromArrays(Godot.RID,Godot.VisualServer.PrimitiveType,Godot.Collections.Array,Godot.Collections.Array,System.UInt32)"]

arrays
Type: Godot.CollectionsArray

[Missing <param name="arrays"/> documentation for "M:Godot.VisualServer.MeshAddSurfaceFromArrays(Godot.RID,Godot.VisualServer.PrimitiveType,Godot.Collections.Array,Godot.Collections.Array,System.UInt32)"]

blendShapes (Optional)
Type: Godot.CollectionsArray
If the parameter is null, then the default value is new Godot.Collections.Array {}
compressFormat (Optional)
Type: SystemUInt32

[Missing <param name="compressFormat"/> documentation for "M:Godot.VisualServer.MeshAddSurfaceFromArrays(Godot.RID,Godot.VisualServer.PrimitiveType,Godot.Collections.Array,Godot.Collections.Array,System.UInt32)"]

See Also