Click or drag to resize

Physics2DRayTestItem Constructor (Ray2, Physics2DCategories, Physics2DCategories, Int32, Physics2DRayTestItemModeEnum)

Initializes a new instance of the Physics2DRayTestItem class

Namespace:  NeoAxis
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax
C#
public Physics2DRayTestItem(
	Ray2 ray,
	Physics2DCategories collisionCategories = Physics2DCategories.Category1,
	Physics2DCategories collidesWith = Physics2DCategories.All,
	int collisionGroup = 0,
	Physics2DRayTestItemModeEnum mode = Physics2DRayTestItemModeEnum.All
)

Parameters

ray
Type: NeoAxisRay2
collisionCategories (Optional)
Type: NeoAxisPhysics2DCategories
collidesWith (Optional)
Type: NeoAxisPhysics2DCategories
collisionGroup (Optional)
Type: SystemInt32
mode (Optional)
Type: NeoAxisPhysics2DRayTestItemModeEnum
See Also