Package apple.modelio

Class MDLPhotometricLight

  • All Implemented Interfaces:
    MDLNamed, NSObject

    public class MDLPhotometricLight
    extends MDLPhysicallyPlausibleLight
    MDLPhotometricLight A light created from measurements at various angles. [@property] lightCubeMap A cube map that can be sampled at various directions to learn the intensity of the light in that direction. [@property] sphericalHarmonicsLevel The value generateSphericalHarmonicsFromLight: used to calculate the spherical harmonics coefficients [@property] sphericalHarmonicsCoefficients The spherical harmonic coefficiencts calculated by generateSphericalHarmonicsFromLight:
    • Constructor Detail

      • MDLPhotometricLight

        protected MDLPhotometricLight​(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()
      • version_static

        public static long version_static()
      • generateCubemapFromLight

        public void generateCubemapFromLight​(long textureSize)
      • generateSphericalHarmonicsFromLight

        public void generateSphericalHarmonicsFromLight​(long sphericalHarmonicsLevel)
      • initWithIESProfile

        public MDLPhotometricLight initWithIESProfile​(NSURL URL)
        Init with an IES profile file, generate a light web of specified width and height
      • sphericalHarmonicsCoefficients

        public NSData sphericalHarmonicsCoefficients()
      • sphericalHarmonicsLevel

        public long sphericalHarmonicsLevel()
      • generateTexture

        public MDLTexture generateTexture​(long textureSize)
        generateTexture Generate an IES compliant MDLTexture 1D when the number of horizontal angles is one and the innerConeAngle is < 180 2D when the previous statement fails and innerConeAngle < 89 3D in all other cases the parameter textureSize is the size in pixels of the texture image. For a size of N, 1D generates an Nx1 image, 2D generates an NxN image, 3D generates an Nx(N*6) image (i.e. cubemap).