Click or drag to resize

Physics2DDirectBodyStateGetContactColliderShapeMetadata Method

Returns the collided shape's metadata. This metadata is different from GetMeta(String), and is set with ShapeSetData(RID, Object).

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public Object GetContactColliderShapeMetadata(
	int contactIdx
)

Parameters

contactIdx
Type: SystemInt32

[Missing <param name="contactIdx"/> documentation for "M:Godot.Physics2DDirectBodyState.GetContactColliderShapeMetadata(System.Int32)"]

Return Value

Type: Object

[Missing <returns> documentation for "M:Godot.Physics2DDirectBodyState.GetContactColliderShapeMetadata(System.Int32)"]

See Also