Click or drag to resize

Physics2DServer.BodyGetParam Method

Returns the value of a body parameter. See Physics2DServer.BodyParameter for a list of available parameters.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public static float BodyGetParam(
	RID body,
	Physics2DServer.BodyParameter param
)

Parameters

body
Type: Godot.RID

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

param
Type: Godot.Physics2DServer.BodyParameter

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

Return Value

Type: Single

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

See Also