Click or drag to resize

ShapeRayCast Method

Cast a ray against a child shape.

Namespace: Internal.tainicom.Aether.Physics2D.Collision.Shapes
Assembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntax
C#
public abstract bool RayCast(
	out RayCastOutput output,
	ref RayCastInput input,
	ref Transform transform,
	int childIndex
)

Parameters

output  RayCastOutput
The ray-cast results.
input  RayCastInput
The ray-cast input parameters.
transform  Transform
The transform to be applied to the shape.
childIndex  Int32
The child shape index.

Return Value

Boolean
True if the ray-cast hits the shape
See Also