Click or drag to resize

Area2DSetCollisionMaskBit Method

Set/clear individual bits on the collision mask. This makes selecting the areas scanned easier.

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

Parameters

bit
Type: SystemInt32

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

value
Type: SystemBoolean

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

See Also