Click or drag to resize

PhysicsBody2DSetCollisionMaskBit Method

Sets individual bits on the CollisionMask bitmask. Use this if you only need to change one layer's value.

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.PhysicsBody2D.SetCollisionMaskBit(System.Int32,System.Boolean)"]

value
Type: SystemBoolean

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

See Also