.TH "MPSRayOriginDirection" 3 "Mon Jul 9 2018" "Version MetalPerformanceShaders-119.3" "MetalPerformanceShaders.framework" \" -*- nroff -*- .ad l .nh .SH NAME MPSRayOriginDirection \- Represents a 3D ray with an origin and a direction\&. .SH SYNOPSIS .br .PP .PP \fC#include \fP .SS "Public Attributes" .in +1c .ti -1c .RI "vector_float3 \fBorigin\fP" .br .RI "Ray origin\&. The intersection test will be skipped if the origin contains NaNs or infinities\&. " .ti -1c .RI "vector_float3 \fBdirection\fP" .br .RI "Ray direction\&. Does not need to be normalized\&. The intersection test will be skipped if the direction has length zero or contains NaNs or infinities\&. " .in -1c .SH "Detailed Description" .PP Represents a 3D ray with an origin and a direction\&. This type is available from the Metal Shading Language by including the MetalPerformanceShaders/MetalPerformanceShaders\&.h header\&. .SH "Member Data Documentation" .PP .SS "vector_float3 MPSRayOriginDirection::direction" .PP Ray direction\&. Does not need to be normalized\&. The intersection test will be skipped if the direction has length zero or contains NaNs or infinities\&. .SS "vector_float3 MPSRayOriginDirection::origin" .PP Ray origin\&. The intersection test will be skipped if the origin contains NaNs or infinities\&. .SH "Author" .PP Generated automatically by Doxygen for MetalPerformanceShaders\&.framework from the source code\&.