Class MPSIntersectionType


  • public final class MPSIntersectionType
    extends java.lang.Object
    Options for the MPSRayIntersector intersection type property
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static long Any
      Find any intersection along the ray direction.
      static long Nearest
      Find the closest intersection to the ray's origin along the ray direction.
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • Nearest

        public static final long Nearest
        Find the closest intersection to the ray's origin along the ray direction. This is potentially slower than MPSIntersectionTypeAny but is well suited to primary visibility rays.
        See Also:
        Constant Field Values
      • Any

        public static final long Any
        Find any intersection along the ray direction. This is potentially faster than MPSIntersectionTypeNearest and is well suited to shadow and occlusion rays.
        See Also:
        Constant Field Values