Class SCNCamera

    • Constructor Detail

      • SCNCamera

        public SCNCamera()
      • SCNCamera

        public SCNCamera​(NSCoder decoder)
    • Method Detail

      • getName

        public java.lang.String getName()
      • setName

        public void setName​(java.lang.String v)
      • getFieldOfView

        public double getFieldOfView()
        Since:
        Available in iOS 11.0 and later.
      • setFieldOfView

        public void setFieldOfView​(double v)
        Since:
        Available in iOS 11.0 and later.
      • getFocalLength

        public double getFocalLength()
        Since:
        Available in iOS 11.0 and later.
      • setFocalLength

        public void setFocalLength​(double v)
        Since:
        Available in iOS 11.0 and later.
      • getSensorHeight

        public double getSensorHeight()
        Since:
        Available in iOS 11.0 and later.
      • setSensorHeight

        public void setSensorHeight​(double v)
        Since:
        Available in iOS 11.0 and later.
      • getZNear

        public double getZNear()
      • setZNear

        public void setZNear​(double v)
      • getZFar

        public double getZFar()
      • setZFar

        public void setZFar​(double v)
      • automaticallyAdjustsZRange

        public boolean automaticallyAdjustsZRange()
      • setAutomaticallyAdjustsZRange

        public void setAutomaticallyAdjustsZRange​(boolean v)
      • usesOrthographicProjection

        public boolean usesOrthographicProjection()
      • setUsesOrthographicProjection

        public void setUsesOrthographicProjection​(boolean v)
      • getOrthographicScale

        public double getOrthographicScale()
      • setOrthographicScale

        public void setOrthographicScale​(double v)
      • getProjectionTransform

        public SCNMatrix4 getProjectionTransform()
      • setProjectionTransform

        public void setProjectionTransform​(SCNMatrix4 v)
      • wantsDepthOfField

        public boolean wantsDepthOfField()
        Since:
        Available in iOS 11.0 and later.
      • setWantsDepthOfField

        public void setWantsDepthOfField​(boolean v)
        Since:
        Available in iOS 11.0 and later.
      • getFocusDistance

        public double getFocusDistance()
        Since:
        Available in iOS 11.0 and later.
      • setFocusDistance

        public void setFocusDistance​(double v)
        Since:
        Available in iOS 11.0 and later.
      • getFocalBlurSampleCount

        public long getFocalBlurSampleCount()
        Since:
        Available in iOS 11.0 and later.
      • setFocalBlurSampleCount

        public void setFocalBlurSampleCount​(long v)
        Since:
        Available in iOS 11.0 and later.
      • getFStop

        public double getFStop()
        Since:
        Available in iOS 11.0 and later.
      • setFStop

        public void setFStop​(double v)
        Since:
        Available in iOS 11.0 and later.
      • getApertureBladeCount

        public long getApertureBladeCount()
        Since:
        Available in iOS 11.0 and later.
      • setApertureBladeCount

        public void setApertureBladeCount​(long v)
        Since:
        Available in iOS 11.0 and later.
      • getMotionBlurIntensity

        public double getMotionBlurIntensity()
        Since:
        Available in iOS 10.0 and later.
      • setMotionBlurIntensity

        public void setMotionBlurIntensity​(double v)
        Since:
        Available in iOS 10.0 and later.
      • getScreenSpaceAmbientOcclusionIntensity

        public double getScreenSpaceAmbientOcclusionIntensity()
        Since:
        Available in iOS 11.0 and later.
      • setScreenSpaceAmbientOcclusionIntensity

        public void setScreenSpaceAmbientOcclusionIntensity​(double v)
        Since:
        Available in iOS 11.0 and later.
      • getScreenSpaceAmbientOcclusionRadius

        public double getScreenSpaceAmbientOcclusionRadius()
        Since:
        Available in iOS 11.0 and later.
      • setScreenSpaceAmbientOcclusionRadius

        public void setScreenSpaceAmbientOcclusionRadius​(double v)
        Since:
        Available in iOS 11.0 and later.
      • getScreenSpaceAmbientOcclusionBias

        public double getScreenSpaceAmbientOcclusionBias()
        Since:
        Available in iOS 11.0 and later.
      • setScreenSpaceAmbientOcclusionBias

        public void setScreenSpaceAmbientOcclusionBias​(double v)
        Since:
        Available in iOS 11.0 and later.
      • getScreenSpaceAmbientOcclusionDepthThreshold

        public double getScreenSpaceAmbientOcclusionDepthThreshold()
        Since:
        Available in iOS 11.0 and later.
      • setScreenSpaceAmbientOcclusionDepthThreshold

        public void setScreenSpaceAmbientOcclusionDepthThreshold​(double v)
        Since:
        Available in iOS 11.0 and later.
      • getScreenSpaceAmbientOcclusionNormalThreshold

        public double getScreenSpaceAmbientOcclusionNormalThreshold()
        Since:
        Available in iOS 11.0 and later.
      • setScreenSpaceAmbientOcclusionNormalThreshold

        public void setScreenSpaceAmbientOcclusionNormalThreshold​(double v)
        Since:
        Available in iOS 11.0 and later.
      • wantsHDR

        public boolean wantsHDR()
        Since:
        Available in iOS 10.0 and later.
      • setWantsHDR

        public void setWantsHDR​(boolean v)
        Since:
        Available in iOS 10.0 and later.
      • getExposureOffset

        public double getExposureOffset()
        Since:
        Available in iOS 10.0 and later.
      • setExposureOffset

        public void setExposureOffset​(double v)
        Since:
        Available in iOS 10.0 and later.
      • getAverageGray

        public double getAverageGray()
        Since:
        Available in iOS 10.0 and later.
      • setAverageGray

        public void setAverageGray​(double v)
        Since:
        Available in iOS 10.0 and later.
      • getWhitePoint

        public double getWhitePoint()
        Since:
        Available in iOS 10.0 and later.
      • setWhitePoint

        public void setWhitePoint​(double v)
        Since:
        Available in iOS 10.0 and later.
      • wantsExposureAdaptation

        public boolean wantsExposureAdaptation()
        Since:
        Available in iOS 10.0 and later.
      • setWantsExposureAdaptation

        public void setWantsExposureAdaptation​(boolean v)
        Since:
        Available in iOS 10.0 and later.
      • getExposureAdaptationBrighteningSpeedFactor

        public double getExposureAdaptationBrighteningSpeedFactor()
        Since:
        Available in iOS 10.0 and later.
      • setExposureAdaptationBrighteningSpeedFactor

        public void setExposureAdaptationBrighteningSpeedFactor​(double v)
        Since:
        Available in iOS 10.0 and later.
      • getExposureAdaptationDarkeningSpeedFactor

        public double getExposureAdaptationDarkeningSpeedFactor()
        Since:
        Available in iOS 10.0 and later.
      • setExposureAdaptationDarkeningSpeedFactor

        public void setExposureAdaptationDarkeningSpeedFactor​(double v)
        Since:
        Available in iOS 10.0 and later.
      • getMinimumExposure

        public double getMinimumExposure()
        Since:
        Available in iOS 10.0 and later.
      • setMinimumExposure

        public void setMinimumExposure​(double v)
        Since:
        Available in iOS 10.0 and later.
      • getMaximumExposure

        public double getMaximumExposure()
        Since:
        Available in iOS 10.0 and later.
      • setMaximumExposure

        public void setMaximumExposure​(double v)
        Since:
        Available in iOS 10.0 and later.
      • getBloomThreshold

        public double getBloomThreshold()
        Since:
        Available in iOS 10.0 and later.
      • setBloomThreshold

        public void setBloomThreshold​(double v)
        Since:
        Available in iOS 10.0 and later.
      • getBloomIntensity

        public double getBloomIntensity()
        Since:
        Available in iOS 10.0 and later.
      • setBloomIntensity

        public void setBloomIntensity​(double v)
        Since:
        Available in iOS 10.0 and later.
      • getBloomBlurRadius

        public double getBloomBlurRadius()
        Since:
        Available in iOS 10.0 and later.
      • setBloomBlurRadius

        public void setBloomBlurRadius​(double v)
        Since:
        Available in iOS 10.0 and later.
      • getVignettingPower

        public double getVignettingPower()
        Since:
        Available in iOS 10.0 and later.
      • setVignettingPower

        public void setVignettingPower​(double v)
        Since:
        Available in iOS 10.0 and later.
      • getVignettingIntensity

        public double getVignettingIntensity()
        Since:
        Available in iOS 10.0 and later.
      • setVignettingIntensity

        public void setVignettingIntensity​(double v)
        Since:
        Available in iOS 10.0 and later.
      • getColorFringeStrength

        public double getColorFringeStrength()
        Since:
        Available in iOS 10.0 and later.
      • setColorFringeStrength

        public void setColorFringeStrength​(double v)
        Since:
        Available in iOS 10.0 and later.
      • getColorFringeIntensity

        public double getColorFringeIntensity()
        Since:
        Available in iOS 10.0 and later.
      • setColorFringeIntensity

        public void setColorFringeIntensity​(double v)
        Since:
        Available in iOS 10.0 and later.
      • getSaturation

        public double getSaturation()
        Since:
        Available in iOS 10.0 and later.
      • setSaturation

        public void setSaturation​(double v)
        Since:
        Available in iOS 10.0 and later.
      • getContrast

        public double getContrast()
        Since:
        Available in iOS 10.0 and later.
      • setContrast

        public void setContrast​(double v)
        Since:
        Available in iOS 10.0 and later.
      • getColorGrading

        public SCNMaterialProperty getColorGrading()
        Since:
        Available in iOS 10.0 and later.
      • getCategoryBitMask

        public long getCategoryBitMask()
      • setCategoryBitMask

        public void setCategoryBitMask​(long v)
      • getFocalBlurRadius

        @Deprecated
        public double getFocalBlurRadius()
        Deprecated.
        Deprecated in iOS 11.0. Use fStop instead
        Since:
        Available in iOS 8.0 and later.
      • setFocalBlurRadius

        @Deprecated
        public void setFocalBlurRadius​(double v)
        Deprecated.
        Deprecated in iOS 11.0. Use fStop instead
        Since:
        Available in iOS 8.0 and later.
      • getXFov

        @Deprecated
        public double getXFov()
        Deprecated.
        Deprecated in iOS 11.0. Use -[SCNCamera fieldOfView] or -[SCNCamera focalLength] instead
        Since:
        Available in iOS 8.0 and later.
      • setXFov

        @Deprecated
        public void setXFov​(double v)
        Deprecated.
        Deprecated in iOS 11.0. Use -[SCNCamera fieldOfView] or -[SCNCamera focalLength] instead
        Since:
        Available in iOS 8.0 and later.
      • getYFov

        @Deprecated
        public double getYFov()
        Deprecated.
        Deprecated in iOS 11.0. Use -[SCNCamera fieldOfView] or -[SCNCamera focalLength] instead
        Since:
        Available in iOS 8.0 and later.
      • setYFov

        @Deprecated
        public void setYFov​(double v)
        Deprecated.
        Deprecated in iOS 11.0. Use -[SCNCamera fieldOfView] or -[SCNCamera focalLength] instead
        Since:
        Available in iOS 8.0 and later.
      • getAperture

        @Deprecated
        public double getAperture()
        Deprecated.
        Deprecated in iOS 11.0. Use -[SCNCamera fStop] instead with fStop = sensorHeight / aperture.
        Since:
        Available in iOS 8.0 and later.
      • setAperture

        @Deprecated
        public void setAperture​(double v)
        Deprecated.
        Deprecated in iOS 11.0. Use -[SCNCamera fStop] instead with fStop = sensorHeight / aperture.
        Since:
        Available in iOS 8.0 and later.
      • getFocalSize

        @Deprecated
        public double getFocalSize()
        Deprecated.
        Deprecated in iOS 11.0.
        Since:
        Available in iOS 8.0 and later.
      • setFocalSize

        @Deprecated
        public void setFocalSize​(double v)
        Deprecated.
        Deprecated in iOS 11.0.
        Since:
        Available in iOS 8.0 and later.
      • getFocalDistance

        @Deprecated
        public double getFocalDistance()
        Deprecated.
        Deprecated in iOS 11.0.
        Since:
        Available in iOS 8.0 and later.
      • setFocalDistance

        @Deprecated
        public void setFocalDistance​(double v)
        Deprecated.
        Deprecated in iOS 11.0.
        Since:
        Available in iOS 8.0 and later.
      • supportsSecureCoding

        public static boolean supportsSecureCoding()
      • removeAnimationForKey

        public void removeAnimationForKey​(java.lang.String key,
                                          double duration)
        Specified by:
        removeAnimationForKey in interface SCNAnimatable
        Since:
        Available in iOS 11.0 and later.
      • removeAnimation

        @Deprecated
        public void removeAnimation​(java.lang.String key,
                                    double duration)
        Deprecated.
        Deprecated in iOS 11.0.
        Specified by:
        removeAnimation in interface SCNAnimatable
        Since:
        Available in iOS 8.0 and later.
      • getAnimation

        @Deprecated
        public CAAnimation getAnimation​(java.lang.String key)
        Deprecated.
        Deprecated in iOS 11.0.
        Specified by:
        getAnimation in interface SCNAnimatable
        Since:
        Available in iOS 8.0 and later.
      • pauseAnimation

        @Deprecated
        public void pauseAnimation​(java.lang.String key)
        Deprecated.
        Deprecated in iOS 11.0. Use -[SCNAnimationPlayer setPaused:] instead
        Specified by:
        pauseAnimation in interface SCNAnimatable
        Since:
        Available in iOS 8.0 and later.
      • resumeAnimation

        @Deprecated
        public void resumeAnimation​(java.lang.String key)
        Deprecated.
        Deprecated in iOS 11.0. Use -[SCNAnimationPlayer setPaused:] instead
        Specified by:
        resumeAnimation in interface SCNAnimatable
        Since:
        Available in iOS 8.0 and later.
      • setSpeed

        @Deprecated
        public void setSpeed​(double speed,
                             java.lang.String key)
        Deprecated.
        Deprecated in iOS 11.0. Use -[SCNAnimationPlayer setSpeed:] instead
        Specified by:
        setSpeed in interface SCNAnimatable
        Since:
        Available in iOS 10.0 and later.
      • isAnimationPaused

        @Deprecated
        public boolean isAnimationPaused​(java.lang.String key)
        Deprecated.
        Deprecated in iOS 11.0. Use -[SCNAnimationPlayer paused] instead
        Specified by:
        isAnimationPaused in interface SCNAnimatable
        Since:
        Available in iOS 8.0 and later.
      • init

        protected long init​(NSCoder decoder)