Edit

Share via


RayStep.UpdateRayStep(Vector3, Vector3) Method

Definition

Update current raystep with new origin and terminus points. Pass by ref to avoid unnecessary struct copy into function since values will be copied anyways locally

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

Parameters

origin
UnityEngine.Vector3

beginning of raystep origin

terminus
UnityEngine.Vector3

end of raystep

Applies to