Click or drag to resize

TileSetAutotileGetBitmask Method

Returns the bitmask of the subtile from an autotile given its coordinates.

The value is the sum of the values in TileSetAutotileBindings present in the subtile (e.g. a value of 5 means the bitmask has bindings in both the top left and top right).

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public uint AutotileGetBitmask(
	int id,
	Vector2 coord
)

Parameters

id
Type: SystemInt32

[Missing <param name="id"/> documentation for "M:Godot.TileSet.AutotileGetBitmask(System.Int32,Godot.Vector2)"]

coord
Type: GodotVector2

[Missing <param name="coord"/> documentation for "M:Godot.TileSet.AutotileGetBitmask(System.Int32,Godot.Vector2)"]

Return Value

Type: UInt32

[Missing <returns> documentation for "M:Godot.TileSet.AutotileGetBitmask(System.Int32,Godot.Vector2)"]

See Also