Package org.robovm.apple.scenekit
Class SCNCamera
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.objc.ObjCObject
-
- org.robovm.apple.foundation.NSObject
-
- org.robovm.apple.scenekit.SCNCamera
-
- All Implemented Interfaces:
NSCoding
,NSObjectProtocol
,NSSecureCoding
,SCNAnimatable
,SCNTechniqueSupport
,org.robovm.objc.ObjCProtocol
public class SCNCamera extends NSObject implements SCNAnimatable, SCNTechniqueSupport, NSSecureCoding
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SCNCamera.SCNCameraPtr
-
Nested classes/interfaces inherited from class org.robovm.apple.foundation.NSObject
NSObject.Handle, NSObject.Marshaler, NSObject.NoRetainMarshaler, NSObject.NSKeyValueObserver, NSObject.NSObjectPtr, NSObject.SkipInit
-
-
Field Summary
-
Fields inherited from class org.robovm.apple.foundation.NSObject
FLAG_NO_RETAIN
-
-
Constructor Summary
Constructors Modifier Constructor Description SCNCamera()
SCNCamera(NSCoder decoder)
protected
SCNCamera(NSObject.Handle h, long handle)
protected
SCNCamera(NSObject.SkipInit skipInit)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
addAnimation(SCNAnimation animation, java.lang.String key)
void
addAnimationPlayer(SCNAnimationPlayer player, java.lang.String key)
SCNAnimationPlayer
animationPlayerForKey(java.lang.String key)
boolean
automaticallyAdjustsZRange()
static SCNCamera
create()
void
encode(NSCoder coder)
CAAnimation
getAnimation(java.lang.String key)
Deprecated.Deprecated in iOS 11.0.NSArray<NSString>
getAnimationKeys()
double
getAperture()
Deprecated.Deprecated in iOS 11.0.long
getApertureBladeCount()
double
getAverageGray()
double
getBloomBlurRadius()
double
getBloomIntensity()
double
getBloomThreshold()
long
getCategoryBitMask()
double
getColorFringeIntensity()
double
getColorFringeStrength()
SCNMaterialProperty
getColorGrading()
double
getContrast()
double
getExposureAdaptationBrighteningSpeedFactor()
double
getExposureAdaptationDarkeningSpeedFactor()
double
getExposureOffset()
double
getFieldOfView()
double
getFocalBlurRadius()
Deprecated.Deprecated in iOS 11.0.long
getFocalBlurSampleCount()
double
getFocalDistance()
Deprecated.Deprecated in iOS 11.0.double
getFocalLength()
double
getFocalSize()
Deprecated.Deprecated in iOS 11.0.double
getFocusDistance()
double
getFStop()
double
getMaximumExposure()
double
getMinimumExposure()
double
getMotionBlurIntensity()
java.lang.String
getName()
double
getOrthographicScale()
SCNCameraProjectionDirection
getProjectionDirection()
SCNMatrix4
getProjectionTransform()
double
getSaturation()
double
getScreenSpaceAmbientOcclusionBias()
double
getScreenSpaceAmbientOcclusionDepthThreshold()
double
getScreenSpaceAmbientOcclusionIntensity()
double
getScreenSpaceAmbientOcclusionNormalThreshold()
double
getScreenSpaceAmbientOcclusionRadius()
double
getSensorHeight()
SCNTechnique
getTechnique()
double
getVignettingIntensity()
double
getVignettingPower()
double
getWhitePoint()
double
getXFov()
Deprecated.Deprecated in iOS 11.0.double
getYFov()
Deprecated.Deprecated in iOS 11.0.double
getZFar()
double
getZNear()
protected long
init(NSCoder decoder)
boolean
isAnimationPaused(java.lang.String key)
Deprecated.Deprecated in iOS 11.0.void
pauseAnimation(java.lang.String key)
Deprecated.Deprecated in iOS 11.0.void
removeAllAnimations()
void
removeAnimation(java.lang.String key)
void
removeAnimation(java.lang.String key, double duration)
Deprecated.Deprecated in iOS 11.0.void
removeAnimationForKey(java.lang.String key, double duration)
void
resumeAnimation(java.lang.String key)
Deprecated.Deprecated in iOS 11.0.void
setAperture(double v)
Deprecated.Deprecated in iOS 11.0.void
setApertureBladeCount(long v)
void
setAutomaticallyAdjustsZRange(boolean v)
void
setAverageGray(double v)
void
setBloomBlurRadius(double v)
void
setBloomIntensity(double v)
void
setBloomThreshold(double v)
void
setCategoryBitMask(long v)
void
setColorFringeIntensity(double v)
void
setColorFringeStrength(double v)
void
setContrast(double v)
void
setExposureAdaptationBrighteningSpeedFactor(double v)
void
setExposureAdaptationDarkeningSpeedFactor(double v)
void
setExposureOffset(double v)
void
setFieldOfView(double v)
void
setFocalBlurRadius(double v)
Deprecated.Deprecated in iOS 11.0.void
setFocalBlurSampleCount(long v)
void
setFocalDistance(double v)
Deprecated.Deprecated in iOS 11.0.void
setFocalLength(double v)
void
setFocalSize(double v)
Deprecated.Deprecated in iOS 11.0.void
setFocusDistance(double v)
void
setFStop(double v)
void
setMaximumExposure(double v)
void
setMinimumExposure(double v)
void
setMotionBlurIntensity(double v)
void
setName(java.lang.String v)
void
setOrthographicScale(double v)
void
setProjectionDirection(SCNCameraProjectionDirection v)
void
setProjectionTransform(SCNMatrix4 v)
void
setSaturation(double v)
void
setScreenSpaceAmbientOcclusionBias(double v)
void
setScreenSpaceAmbientOcclusionDepthThreshold(double v)
void
setScreenSpaceAmbientOcclusionIntensity(double v)
void
setScreenSpaceAmbientOcclusionNormalThreshold(double v)
void
setScreenSpaceAmbientOcclusionRadius(double v)
void
setSensorHeight(double v)
void
setSpeed(double speed, java.lang.String key)
Deprecated.Deprecated in iOS 11.0.void
setTechnique(SCNTechnique v)
void
setUsesOrthographicProjection(boolean v)
void
setVignettingIntensity(double v)
void
setVignettingPower(double v)
void
setWantsDepthOfField(boolean v)
void
setWantsExposureAdaptation(boolean v)
void
setWantsHDR(boolean v)
void
setWhitePoint(double v)
void
setXFov(double v)
Deprecated.Deprecated in iOS 11.0.void
setYFov(double v)
Deprecated.Deprecated in iOS 11.0.void
setZFar(double v)
void
setZNear(double v)
static boolean
supportsSecureCoding()
boolean
usesOrthographicProjection()
boolean
wantsDepthOfField()
boolean
wantsExposureAdaptation()
boolean
wantsHDR()
-
Methods inherited from class org.robovm.apple.foundation.NSObject
addKeyValueObserver, addKeyValueObserver, afterMarshaled, alloc, autorelease, autorelease, awakeFromNib, conformsToProtocol, copy, description, didChangeValue, didChangeValue, didChangeValues, doDispose, equals, forceSkipInit, getAutoContentAccessingProxy, getClassForCoder, getClassForKeyedArchiver, getKeyValueCoder, getObservationInfo, hash, hashCode, init, isEqual, isKindOfClass, isMemberOfClass, mutableCopy, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelectorInBackground, performSelectorOnMainThread, performSelectorOnMainThread, performSelectorV, performSelectorV, performSelectorV, release, release, removeKeyValueObserver, removeKeyValueObservers, respondsToSelector, retain, retain, retainCount, setObservationInfo, toString, willChangeValue, willChangeValue, willChangeValues
-
-
-
-
Constructor Detail
-
SCNCamera
public SCNCamera()
-
SCNCamera
protected SCNCamera(NSObject.Handle h, long handle)
-
SCNCamera
protected SCNCamera(NSObject.SkipInit skipInit)
-
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.
-
getProjectionDirection
public SCNCameraProjectionDirection getProjectionDirection()
- Since:
- Available in iOS 11.0 and later.
-
setProjectionDirection
public void setProjectionDirection(SCNCameraProjectionDirection 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.
-
getAnimationKeys
public NSArray<NSString> getAnimationKeys()
- Specified by:
getAnimationKeys
in interfaceSCNAnimatable
-
getTechnique
public SCNTechnique getTechnique()
- Specified by:
getTechnique
in interfaceSCNTechniqueSupport
-
setTechnique
public void setTechnique(SCNTechnique v)
- Specified by:
setTechnique
in interfaceSCNTechniqueSupport
-
supportsSecureCoding
public static boolean supportsSecureCoding()
-
create
public static SCNCamera create()
-
addAnimation
public void addAnimation(SCNAnimation animation, java.lang.String key)
- Specified by:
addAnimation
in interfaceSCNAnimatable
-
addAnimationPlayer
public void addAnimationPlayer(SCNAnimationPlayer player, java.lang.String key)
- Specified by:
addAnimationPlayer
in interfaceSCNAnimatable
- Since:
- Available in iOS 11.0 and later.
-
removeAllAnimations
public void removeAllAnimations()
- Specified by:
removeAllAnimations
in interfaceSCNAnimatable
-
removeAnimation
public void removeAnimation(java.lang.String key)
- Specified by:
removeAnimation
in interfaceSCNAnimatable
-
animationPlayerForKey
public SCNAnimationPlayer animationPlayerForKey(java.lang.String key)
- Specified by:
animationPlayerForKey
in interfaceSCNAnimatable
- Since:
- Available in iOS 11.0 and later.
-
removeAnimationForKey
public void removeAnimationForKey(java.lang.String key, double duration)
- Specified by:
removeAnimationForKey
in interfaceSCNAnimatable
- 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 interfaceSCNAnimatable
- 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 interfaceSCNAnimatable
- 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 interfaceSCNAnimatable
- 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 interfaceSCNAnimatable
- 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 interfaceSCNAnimatable
- 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 interfaceSCNAnimatable
- Since:
- Available in iOS 8.0 and later.
-
init
protected long init(NSCoder decoder)
-
-