Click or drag to resize

Physics2DServerBodyGetCollisionLayer Method

Returns the physics layer or layers a body belongs to.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public static uint BodyGetCollisionLayer(
	RID body
)

Parameters

body
Type: GodotRID

[Missing <param name="body"/> documentation for "M:Godot.Physics2DServer.BodyGetCollisionLayer(Godot.RID)"]

Return Value

Type: UInt32

[Missing <returns> documentation for "M:Godot.Physics2DServer.BodyGetCollisionLayer(Godot.RID)"]

See Also