Class MTLCurveType


  • public final class MTLCurveType
    extends java.lang.Object
    Curve types API-Since: 17.0
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static long Flat
      Curve with a flat cross-section aligned with the ray direction.
      static long Round
      Curve with a circular cross-section.
    • Method Summary

      • Methods inherited from class java.lang.Object

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

      • Round

        public static final long Round
        Curve with a circular cross-section. These curves have the advantage of having a real 3D shape consistent across different ray directions, well-defined surface normals, etc. However, they may be slower to intersect. These curves are ideal for viewing close-up. API-Since: 17.0
        See Also:
        Constant Field Values
      • Flat

        public static final long Flat
        Curve with a flat cross-section aligned with the ray direction. These curves may be faster to intersect but do not have a consistent 3D structure across different rays. These curves are ideal for viewing at a distance or curves with a small radius such as hair and fur. API-Since: 17.0
        See Also:
        Constant Field Values