Click or drag to resize

RayCast2DSetCollisionMaskBit Method

Sets or clears 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.RayCast2D.SetCollisionMaskBit(System.Int32,System.Boolean)"]

value
Type: SystemBoolean

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

See Also