Click or drag to resize

WorldCreateRoundedRectangle Method


Namespace: Internal.tainicom.Aether.Physics2D.Dynamics
Assembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntax
C#
public Body CreateRoundedRectangle(
	float width,
	float height,
	float xRadius,
	float yRadius,
	int segments,
	float density,
	Vector2 position = default,
	float rotation = 0f,
	BodyType bodyType = BodyType.Static
)

Parameters

width  Single
 
height  Single
 
xRadius  Single
 
yRadius  Single
 
segments  Int32
 
density  Single
 
position  Vector2  (Optional)
 
rotation  Single  (Optional)
 
bodyType  BodyType  (Optional)
 

Return Value

Body
See Also