Language
Edit

RayStep.GetPoint(Single) Method

Definition

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

UnityEngine.Vector3

A new point that is at the specified distance from the origin.

Applies to