Language
Edit

RayStep.UpdateRayStep(Vector3, Vector3) Method

Definition

Update the ray step with new origin and terminus points.

public void UpdateRayStep(in UnityEngine.Vector3 origin, in UnityEngine.Vector3 terminus);
member this.UpdateRayStep : Vector3 * Vector3 -> unit
Public Sub UpdateRayStep (ByRef origin As Vector3, ByRef terminus As Vector3)

Parameters

origin
UnityEngine.Vector3

The origin position of the ray step.

terminus
UnityEngine.Vector3

The end position of the ray step.

Remarks

Vectors are passed by reference to avoid unnecessary struct copies. The input values will be copied locally.

Applies to