Click or drag to resize

MeshLibrarySetItemShapes Method

Sets an item's collision shapes.

The array should consist of Shape objects, each followed by a Transform that will be applied to it. For shapes that should not have a transform, use .

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public void SetItemShapes(
	int id,
	Array shapes
)

Parameters

id
Type: SystemInt32

[Missing <param name="id"/> documentation for "M:Godot.MeshLibrary.SetItemShapes(System.Int32,Godot.Collections.Array)"]

shapes
Type: Godot.CollectionsArray

[Missing <param name="shapes"/> documentation for "M:Godot.MeshLibrary.SetItemShapes(System.Int32,Godot.Collections.Array)"]

See Also