RayStep.GetPoint(Single) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Get a point along the raycast, at a specified distance from the origin.
public UnityEngine.Vector3 GetPoint(float distance);
member this.GetPoint : single -> UnityEngine.Vector3
Public Function GetPoint (distance As Single) As Vector3
Parameters
- distance
- Single
The returned point will be at this distance from the origin.
Returns
A new point that is at the specified distance from the origin.