Click or drag to resize

Area2DSetCollisionLayerBit Method

Set/clear individual bits on the layer mask. This makes getting an area in/out of only one layer easier.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public void SetCollisionLayerBit(
	int bit,
	bool value
)

Parameters

bit
Type: SystemInt32

[Missing <param name="bit"/> documentation for "M:Godot.Area2D.SetCollisionLayerBit(System.Int32,System.Boolean)"]

value
Type: SystemBoolean

[Missing <param name="value"/> documentation for "M:Godot.Area2D.SetCollisionLayerBit(System.Int32,System.Boolean)"]

See Also