Package apple.modelio

Class MDLSkyCubeTexture

  • All Implemented Interfaces:
    MDLNamed, NSObject

    public class MDLSkyCubeTexture
    extends MDLTexture
    MDLSkyCubeTexture [@summary] A physically realistic sky as a cube texture [@property] sunElevation A value of zero is at the zenith, 0.5 is at the horizon, 1.0 is at the nadir. Use in conjunction with turbidity to give a dawn, dusk, or noon look. [@property] turbidity A value of zero simulates the effect of a clear sky, the sun will impart very little color to the sky. A value of one simulates a great deal of dust and moisture in the sky, and will cause the sun's color to spread across the atmosphere. [@property] upperAtmosphereScattering A value of zero will give very dusky colors, a value of one will give noon-ish saturated colors. [@property] groundAlbedo controls the amount of light that bounces back up into the sky from the ground. A value of zero will yield a clear sky, a value of one will reduce the contrast of the sky, making it a bit foggy. [@property] horizonElevation If the lower half of the environment is being replaced by a color, horizonElevation is angle, in radians, below which the replacement should occur. Negative values are below the horizon. [@property] groundColor If this value is set, the environment will be replaced with the color below the horizonElevation value blended with the w factor up to Pi/2.0 past the horizon. (e.g. w = 0.0 groundColor is applied immediatly on the horizon with no blend w = Pi/2 groundColor is linearly applied all the way to the south pole) NOTE: To maintain default behavior a simple length(groundColor) != 0 is used to determine if we want to set the ground color (e.g. black and blended immediatly on the horizon use (0.0, 0.0, 0.0, 0.0000001)) 4 component treats the first 3 components as color and w as blend factor 3 component treats the first 3 components as color and 0 as blend factor 2 component treats the first component as greyscale color and y as blend factor 1 component treats the scalar component as greyscale color and 0 as blend factor [@property] gamma Modifies the amount of gamma correction applied during tone mapping. [@property] exposure Modifies the exposure applied during tone mapping. [@property] brighness Modifies the brightness of the image during tone mapping. [@property] contrast Modifies the contrast of the image during tone mapping. [@property] saturation Modifes the saturation of the image during tone mapping. [@property] highDynamicRangeCompression values below the x component of this value are not compressed during tone mapping. Values between the x component and y component are compressed to the maximum brightness value during tone mapping. Values above the limit are clamped. the texture will be created if data is referenced, otherwise, this object is merely a description. All parameters have legal values between zero and one.
    • Constructor Detail

      • MDLSkyCubeTexture

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

        public static java.lang.Object allocWithZone​(org.moe.natj.general.ptr.VoidPtr zone)
      • automaticallyNotifiesObserversForKey

        public static boolean automaticallyNotifiesObserversForKey​(java.lang.String key)
      • cancelPreviousPerformRequestsWithTarget

        public static void cancelPreviousPerformRequestsWithTarget​(java.lang.Object aTarget)
      • cancelPreviousPerformRequestsWithTargetSelectorObject

        public static void cancelPreviousPerformRequestsWithTargetSelectorObject​(java.lang.Object aTarget,
                                                                                 org.moe.natj.objc.SEL aSelector,
                                                                                 java.lang.Object anArgument)
      • classFallbacksForKeyedArchiver

        public static NSArray<java.lang.String> classFallbacksForKeyedArchiver()
      • classForKeyedUnarchiver

        public static org.moe.natj.objc.Class classForKeyedUnarchiver()
      • debugDescription_static

        public static java.lang.String debugDescription_static()
      • description_static

        public static java.lang.String description_static()
      • hash_static

        public static long hash_static()
      • instanceMethodSignatureForSelector

        public static NSMethodSignature instanceMethodSignatureForSelector​(org.moe.natj.objc.SEL aSelector)
      • instancesRespondToSelector

        public static boolean instancesRespondToSelector​(org.moe.natj.objc.SEL aSelector)
      • isSubclassOfClass

        public static boolean isSubclassOfClass​(org.moe.natj.objc.Class aClass)
      • keyPathsForValuesAffectingValueForKey

        public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey​(java.lang.String key)
      • new_objc

        public static java.lang.Object new_objc()
      • resolveClassMethod

        public static boolean resolveClassMethod​(org.moe.natj.objc.SEL sel)
      • resolveInstanceMethod

        public static boolean resolveInstanceMethod​(org.moe.natj.objc.SEL sel)
      • setVersion_static

        public static void setVersion_static​(long aVersion)
      • superclass_static

        public static org.moe.natj.objc.Class superclass_static()
      • textureCubeWithImagesNamed

        public static MDLSkyCubeTexture textureCubeWithImagesNamed​(NSArray<java.lang.String> names)
      • textureCubeWithImagesNamedBundle

        public static MDLSkyCubeTexture textureCubeWithImagesNamedBundle​(NSArray<java.lang.String> names,
                                                                         NSBundle bundleOrNil)
      • textureNamed

        public static MDLSkyCubeTexture textureNamed​(java.lang.String name)
      • version_static

        public static long version_static()
      • brightness

        public float brightness()
      • contrast

        public float contrast()
      • exposure

        public float exposure()
      • gamma

        public float gamma()
      • groundAlbedo

        public float groundAlbedo()
      • horizonElevation

        public float horizonElevation()
      • saturation

        public float saturation()
      • setBrightness

        public void setBrightness​(float value)
      • setContrast

        public void setContrast​(float value)
      • setExposure

        public void setExposure​(float value)
      • setGamma

        public void setGamma​(float value)
      • setGroundAlbedo

        public void setGroundAlbedo​(float value)
      • setGroundColor

        public void setGroundColor​(CGColorRef value)
      • setHorizonElevation

        public void setHorizonElevation​(float value)
      • setSaturation

        public void setSaturation​(float value)
      • setSunElevation

        public void setSunElevation​(float value)
      • setTurbidity

        public void setTurbidity​(float value)
      • setUpperAtmosphereScattering

        public void setUpperAtmosphereScattering​(float value)
      • sunElevation

        public float sunElevation()
      • turbidity

        public float turbidity()
      • updateTexture

        public void updateTexture()
        Call updateTexture if parameters have been changed and a new sky is required.
      • upperAtmosphereScattering

        public float upperAtmosphereScattering()
      • setSunAzimuth

        public void setSunAzimuth​(float value)
      • sunAzimuth

        public float sunAzimuth()