Click or drag to resize

GeometryMakeAtlas Method

Given an array of Vector2s representing tiles, builds an atlas. The returned dictionary has two keys: points is a vector of Vector2 that specifies the positions of each tile, size contains the overall size of the whole atlas as Vector2.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public static Dictionary MakeAtlas(
	Vector2[] sizes
)

Parameters

sizes
Type: GodotVector2

[Missing <param name="sizes"/> documentation for "M:Godot.Geometry.MakeAtlas(Godot.Vector2[])"]

Return Value

Type: Dictionary

[Missing <returns> documentation for "M:Godot.Geometry.MakeAtlas(Godot.Vector2[])"]

See Also