Class MPSRayPackedOriginDirection


  • public final class MPSRayPackedOriginDirection
    extends org.moe.natj.c.StructObject
    • Constructor Detail

      • MPSRayPackedOriginDirection

        public MPSRayPackedOriginDirection()
      • MPSRayPackedOriginDirection

        protected MPSRayPackedOriginDirection​(org.moe.natj.general.Pointer peer)
    • Method Detail

      • origin

        public MPSPackedFloat3 origin()
        Ray origin. The intersection test will be skipped if the origin contains NaNs or infinities.
      • setOrigin

        public void setOrigin​(MPSPackedFloat3 value)
        Ray origin. The intersection test will be skipped if the origin contains NaNs or infinities.
      • direction

        public MPSPackedFloat3 direction()
        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.
      • setDirection

        public void setDirection​(MPSPackedFloat3 value)
        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.