RayStep Struct

Definition

C++
public value class RayStep
Inheritance
RayStep
Attributes

Constructors

Properties

Methods

Contains(Vector3)
CopyRay(Ray, Single)
GetDirectionByDistance(RayStep[], Single)

Returns a direction along an array of RaySteps by distance

GetPoint(Single)
GetPointByDistance(RayStep[], Single)

Returns a point along an array of RaySteps by distance

GetStepByDistance(RayStep[], Single, Single)

Returns a RayStep along an array of RaySteps by distance

UpdateRayStep(Vector3, Vector3)

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

Operators

Applies to

Produkt Versioner
MRTK2 Unity 2018 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0
MRTK2 Unity 2019 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0
MRTK2 Unity 2020 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0