Share via


FromSingleRay Method

Microsoft Robotics Class Reference

Creates a RaycastProperties instance representing a single ray specified in world coordinates.

Namespace: Microsoft.Robotics.Simulation.Physics
Assembly: SimulationCommon (in SimulationCommon.dll) Version: 4.0.261.0 (4.0.261.0)

Syntax

public static RaycastProperties FromSingleRay(
    Vector3 from,
    Vector3 to
)

Parameters

Return Value

A RaycastProperties instance ready to be passed to the physics engine.

See Also

RaycastProperties Class

Microsoft.Robotics.Simulation.Physics Namespace