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 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