.TH "MPSRayOriginMinDistanceDirectionMaxDistance" 3 "Mon Jul 9 2018" "Version MetalPerformanceShaders-119.3" "MetalPerformanceShaders.framework" \" -*- nroff -*- .ad l .nh .SH NAME MPSRayOriginMinDistanceDirectionMaxDistance \- Represents a 3D ray with an origin, a direction, and an intersection distance range from the origin\&. .SH SYNOPSIS .br .PP .PP \fC#include \fP .SS "Public Attributes" .in +1c .ti -1c .RI "\fBMPSPackedFloat3\fP \fBorigin\fP" .br .RI "Ray origin\&. The intersection test will be skipped if the origin contains NaNs or infinities\&. " .ti -1c .RI "float \fBminDistance\fP" .br .RI "Minimum intersection distance from the origin along the ray direction\&. The intersection test will be skipped if the minimum distance is equal to positive infinity or NaN\&. " .ti -1c .RI "\fBMPSPackedFloat3\fP \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\&. " .ti -1c .RI "float \fBmaxDistance\fP" .br .RI "Maximum intersection distance from the origin along the ray direction\&. May be infinite\&. The intersection test will be skipped if the maximum distance is less than zero, NaN, or less than the minimum intersection distance\&. " .in -1c .SH "Detailed Description" .PP Represents a 3D ray with an origin, a direction, and an intersection distance range from the origin\&. This type is available from the Metal Shading Language by including the MetalPerformanceShaders/MetalPerformanceShaders\&.h header\&. .SH "Member Data Documentation" .PP .SS "\fBMPSPackedFloat3\fP MPSRayOriginMinDistanceDirectionMaxDistance::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 "float MPSRayOriginMinDistanceDirectionMaxDistance::maxDistance" .PP Maximum intersection distance from the origin along the ray direction\&. May be infinite\&. The intersection test will be skipped if the maximum distance is less than zero, NaN, or less than the minimum intersection distance\&. .SS "float MPSRayOriginMinDistanceDirectionMaxDistance::minDistance" .PP Minimum intersection distance from the origin along the ray direction\&. The intersection test will be skipped if the minimum distance is equal to positive infinity or NaN\&. .SS "\fBMPSPackedFloat3\fP MPSRayOriginMinDistanceDirectionMaxDistance::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\&.