RayStep.UpdateRayStep(Vector3, Vector3) 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.
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.