Click or drag to resize

Physics2DContactTestItem Constructor (Vector2, Physics2DCategories, Physics2DCategories, Int32, Physics2DContactTestItemModeEnum)

Initializes a new instance of the Physics2DContactTestItem class

Namespace:  NeoAxis
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax
C#
public Physics2DContactTestItem(
	Vector2[] convex,
	Physics2DCategories collisionCategories = Physics2DCategories.Category1,
	Physics2DCategories collidesWith = Physics2DCategories.All,
	int collisionGroup = 0,
	Physics2DContactTestItemModeEnum mode = Physics2DContactTestItemModeEnum.All
)

Parameters

convex
Type: NeoAxisVector2
collisionCategories (Optional)
Type: NeoAxisPhysics2DCategories
collidesWith (Optional)
Type: NeoAxisPhysics2DCategories
collisionGroup (Optional)
Type: SystemInt32
mode (Optional)
Type: NeoAxisPhysics2DContactTestItemModeEnum
See Also