Click or drag to resize

VisualServerMultimeshSetVisibleInstances Method

Sets the number of instances visible at a given time. If -1, all instances that have been allocated are drawn. Equivalent to VisibleInstanceCount.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public static void MultimeshSetVisibleInstances(
	RID multimesh,
	int visible
)

Parameters

multimesh
Type: GodotRID

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

visible
Type: SystemInt32

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

See Also