public class ARWorldTrackingConfiguration extends ARConfiguration
World tracking provides 6 degrees of freedom tracking of the device. By finding feature points in the scene, world tracking enables performing hit-tests against the frame. Tracking can no longer be resumed once the session is paused.
NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_ret| Modifier | Constructor and Description |
|---|---|
protected |
ARWorldTrackingConfiguration(org.moe.natj.general.Pointer peer) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
accessInstanceVariablesDirectly() |
static ARWorldTrackingConfiguration |
alloc() |
static ARWorldTrackingConfiguration |
allocWithZone(org.moe.natj.general.ptr.VoidPtr zone) |
boolean |
appClipCodeTrackingEnabled()
Enable or disable app clip code tracking.
|
static boolean |
automaticallyNotifiesObserversForKey(java.lang.String key) |
boolean |
automaticImageScaleEstimationEnabled()
Enables the estimation of a scale factor which may be used to correct the physical size of an image.
|
static void |
cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget) |
static void |
cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget,
org.moe.natj.objc.SEL aSelector,
java.lang.Object anArgument) |
static NSArray<java.lang.String> |
classFallbacksForKeyedArchiver() |
static org.moe.natj.objc.Class |
classForKeyedUnarchiver() |
static java.lang.String |
debugDescription_static() |
static java.lang.String |
description_static() |
NSSet<? extends ARReferenceImage> |
detectionImages()
Images to detect in the scene.
|
NSSet<? extends ARReferenceObject> |
detectionObjects()
Objects to detect in the scene.
|
long |
environmentTexturing()
The mode of environment texturing to run.
|
static long |
hash_static() |
ARWorldTrackingConfiguration |
init() |
ARWorldMap |
initialWorldMap()
The initial map of the physical space that world tracking will localize to and track.
|
static NSObject.Function_instanceMethodForSelector_ret |
instanceMethodForSelector(org.moe.natj.objc.SEL aSelector) |
static NSMethodSignature |
instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector) |
static boolean |
instancesRespondToSelector(org.moe.natj.objc.SEL aSelector) |
boolean |
isAutoFocusEnabled()
Enable or disable continuous auto focus.
|
boolean |
isCollaborationEnabled()
Enable/disable a collaborative session.
|
static boolean |
isSubclassOfClass(org.moe.natj.objc.Class aClass) |
static boolean |
isSupported() |
static NSSet<java.lang.String> |
keyPathsForValuesAffectingValueForKey(java.lang.String key) |
long |
maximumNumberOfTrackedImages()
Maximum number of images to track simultaneously.
|
static ARWorldTrackingConfiguration |
new_objc() |
long |
planeDetection()
Type of planes to detect in the scene.
|
static boolean |
resolveClassMethod(org.moe.natj.objc.SEL sel) |
static boolean |
resolveInstanceMethod(org.moe.natj.objc.SEL sel) |
long |
sceneReconstruction()
Type of scene reconstruction to run.
|
void |
setAppClipCodeTrackingEnabled(boolean value)
Enable or disable app clip code tracking.
|
void |
setAutoFocusEnabled(boolean value)
Enable or disable continuous auto focus.
|
void |
setAutomaticImageScaleEstimationEnabled(boolean value)
Enables the estimation of a scale factor which may be used to correct the physical size of an image.
|
void |
setCollaborationEnabled(boolean value)
Enable/disable a collaborative session.
|
void |
setDetectionImages(NSSet<? extends ARReferenceImage> value)
Images to detect in the scene.
|
void |
setDetectionObjects(NSSet<? extends ARReferenceObject> value)
Objects to detect in the scene.
|
void |
setEnvironmentTexturing(long value)
The mode of environment texturing to run.
|
void |
setInitialWorldMap(ARWorldMap value)
The initial map of the physical space that world tracking will localize to and track.
|
void |
setMaximumNumberOfTrackedImages(long value)
Maximum number of images to track simultaneously.
|
void |
setPlaneDetection(long value)
Type of planes to detect in the scene.
|
void |
setSceneReconstruction(long value)
Type of scene reconstruction to run.
|
void |
setUserFaceTrackingEnabled(boolean value)
Enable or disable running Face Tracking using the front facing camera.
|
static void |
setVersion_static(long aVersion) |
void |
setWantsHDREnvironmentTextures(boolean value)
Determines whether environment textures will be provided with high dynamic range.
|
static org.moe.natj.objc.Class |
superclass_static() |
static NSArray<? extends ARVideoFormat> |
supportedVideoFormats() |
static boolean |
supportsAppClipCodeTracking()
Indicates whether app clip code tracking can be enabled on this device.
|
static boolean |
supportsFrameSemantics(long frameSemantics) |
static boolean |
supportsSceneReconstruction(long sceneReconstruction)
Indicates whether the scene reconstruction type is supported for the configuration on this device.
|
static boolean |
supportsUserFaceTracking()
Indicates whether user face tracking using the front facing camera can be enabled on this device.
|
boolean |
userFaceTrackingEnabled()
Enable or disable running Face Tracking using the front facing camera.
|
static long |
version_static() |
boolean |
wantsHDREnvironmentTextures()
Determines whether environment textures will be provided with high dynamic range.
|
copyWithZone, frameSemantics, isLightEstimationEnabled, providesAudioData, setFrameSemantics, setLightEstimationEnabled, setProvidesAudioData, setVideoFormat, setWorldAlignment, videoFormat, worldAlignmentaccessibilityActivate, accessibilityActivationPoint, accessibilityAssistiveTechnologyFocusedIdentifiers, accessibilityAttributedHint, accessibilityAttributedLabel, accessibilityAttributedUserInputLabels, accessibilityAttributedValue, accessibilityContainerType, accessibilityCustomActions, accessibilityCustomRotors, accessibilityDecrement, accessibilityDragSourceDescriptors, accessibilityDropPointDescriptors, accessibilityElementAtIndex, accessibilityElementCount, accessibilityElementDidBecomeFocused, accessibilityElementDidLoseFocus, accessibilityElementIsFocused, accessibilityElements, accessibilityElementsHidden, accessibilityFrame, accessibilityHint, accessibilityIncrement, accessibilityLabel, accessibilityLanguage, accessibilityNavigationStyle, accessibilityPath, accessibilityPerformEscape, accessibilityPerformMagicTap, accessibilityRespondsToUserInteraction, accessibilityScroll, accessibilityTextualContext, accessibilityTraits, accessibilityUserInputLabels, accessibilityValue, accessibilityViewIsModal, addObserverForKeyPathOptionsContext, attemptRecoveryFromErrorOptionIndex, attemptRecoveryFromErrorOptionIndexDelegateDidRecoverSelectorContextInfo, autoContentAccessingProxy, awakeAfterUsingCoder, awakeFromNib, class_objc, classForCoder, classForKeyedArchiver, copy, dealloc, debugDescription, description, dictionaryWithValuesForKeys, didChangeValueForKey, didChangeValueForKeyWithSetMutationUsingObjects, didChangeValuesAtIndexesForKey, doesNotRecognizeSelector, fileManagerShouldProceedAfterError, fileManagerWillProcessPath, finalize_objc, forwardingTargetForSelector, forwardInvocation, hash, indexOfAccessibilityElement, isAccessibilityElement, isEqual, isKindOfClass, isMemberOfClass, isProxy, methodForSelector, methodSignatureForSelector, mutableArrayValueForKey, mutableArrayValueForKeyPath, mutableCopy, mutableOrderedSetValueForKey, mutableOrderedSetValueForKeyPath, mutableSetValueForKey, mutableSetValueForKeyPath, observationInfo, observeValueForKeyPathOfObjectChangeContext, performSelector, performSelectorInBackgroundWithObject, performSelectorOnMainThreadWithObjectWaitUntilDone, performSelectorOnMainThreadWithObjectWaitUntilDoneModes, performSelectorOnThreadWithObjectWaitUntilDone, performSelectorOnThreadWithObjectWaitUntilDoneModes, performSelectorWithObject, performSelectorWithObjectAfterDelay, performSelectorWithObjectAfterDelayInModes, performSelectorWithObjectWithObject, prepareForInterfaceBuilder, provideImageDataBytesPerRowOrigin_Size_UserInfo, removeObserverForKeyPath, removeObserverForKeyPathContext, replacementObjectForCoder, replacementObjectForKeyedArchiver, respondsToSelector, self, setAccessibilityActivationPoint, setAccessibilityAttributedHint, setAccessibilityAttributedLabel, setAccessibilityAttributedUserInputLabels, setAccessibilityAttributedValue, setAccessibilityContainerType, setAccessibilityCustomActions, setAccessibilityCustomRotors, setAccessibilityDragSourceDescriptors, setAccessibilityDropPointDescriptors, setAccessibilityElements, setAccessibilityElementsHidden, setAccessibilityFrame, setAccessibilityHint, setAccessibilityLabel, setAccessibilityLanguage, setAccessibilityNavigationStyle, setAccessibilityPath, setAccessibilityRespondsToUserInteraction, setAccessibilityTextualContext, setAccessibilityTraits, setAccessibilityUserInputLabels, setAccessibilityValue, setAccessibilityViewIsModal, setIsAccessibilityElement, setNilValueForKey, setObservationInfo, setShouldGroupAccessibilityChildren, setValueForKey, setValueForKeyPath, setValueForUndefinedKey, setValuesForKeysWithDictionary, shouldGroupAccessibilityChildren, superclass, validateValueForKeyError, validateValueForKeyPathError, valueForKey, valueForKeyPath, valueForUndefinedKey, willChangeValueForKey, willChangeValueForKeyWithSetMutationUsingObjects, willChangeValuesAtIndexesForKeyprotected ARWorldTrackingConfiguration(org.moe.natj.general.Pointer peer)
public static boolean accessInstanceVariablesDirectly()
public static ARWorldTrackingConfiguration alloc()
public static ARWorldTrackingConfiguration allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
public static boolean automaticallyNotifiesObserversForKey(java.lang.String key)
public static void cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget)
public static void cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget,
org.moe.natj.objc.SEL aSelector,
java.lang.Object anArgument)
public static NSArray<java.lang.String> classFallbacksForKeyedArchiver()
public static org.moe.natj.objc.Class classForKeyedUnarchiver()
public static java.lang.String debugDescription_static()
public static java.lang.String description_static()
public static long hash_static()
public ARWorldTrackingConfiguration init()
init in class ARConfigurationpublic static NSObject.Function_instanceMethodForSelector_ret instanceMethodForSelector(org.moe.natj.objc.SEL aSelector)
public static NSMethodSignature instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)
public static boolean instancesRespondToSelector(org.moe.natj.objc.SEL aSelector)
public static boolean isSubclassOfClass(org.moe.natj.objc.Class aClass)
public static boolean isSupported()
public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey(java.lang.String key)
public static ARWorldTrackingConfiguration new_objc()
public long planeDetection()
If set, new planes will continue to be detected and updated over time. Detected planes will be added to the session as ARPlaneAnchor objects. In the event that two planes are merged, the newer plane will be removed. Defaults to ARPlaneDetectionNone.
public static boolean resolveClassMethod(org.moe.natj.objc.SEL sel)
public static boolean resolveInstanceMethod(org.moe.natj.objc.SEL sel)
public void setPlaneDetection(long value)
If set, new planes will continue to be detected and updated over time. Detected planes will be added to the session as ARPlaneAnchor objects. In the event that two planes are merged, the newer plane will be removed. Defaults to ARPlaneDetectionNone.
public static void setVersion_static(long aVersion)
public static org.moe.natj.objc.Class superclass_static()
public static long version_static()
public boolean automaticImageScaleEstimationEnabled()
If set to true ARKit will attempt to use the computed camera positions in order to compute the scale by which the given physical size differs from the estimated one. The information about the estimated scale can be found as the property estimatedScaleFactor on the ARImageAnchor. [@note] When set to true the transform of a returned ARImageAnchor will use the estimated scale factor to correct the translation. Default value is NO.
public NSSet<? extends ARReferenceImage> detectionImages()
If set the session will attempt to detect the specified images. When an image is detected an ARImageAnchor will be added to the session.
public NSSet<? extends ARReferenceObject> detectionObjects()
If set the session will attempt to detect the specified objects. When an object is detected an ARObjectAnchor will be added to the session.
public long environmentTexturing()
If set, texture information will be accumulated and updated. Adding an AREnvironmentProbeAnchor to the session will get the current environment texture available from that probe's perspective which can be used for lighting virtual objects in the scene. Defaults to AREnvironmentTexturingNone.
public ARWorldMap initialWorldMap()
If set, the session will attempt to localize to the provided map with a limited tracking state until localization is successful or run is called again with a different (or no) initial map specified. Once localized, the map will be extended and can again be saved using the `getCurrentWorldMap` method on the session.
public boolean isAutoFocusEnabled()
Enabled by default.
public boolean isCollaborationEnabled()
When enabled, ARSession will output collaboration data for other participants using its delegate didOutputCollaborationData. It is the responsibility of the caller to send the data to each participant. When data is received by a participant, it should be passed to the ARSession by calling updateWithCollaborationData.
public long maximumNumberOfTrackedImages()
Setting the maximum number of tracked images will limit the number of images that can be tracked in a given frame. If more than the maximum is visible, only the images already being tracked will continue to track until tracking is lost or another image is removed. Images will continue to be detected regardless of images tracked. Default value is zero.
public void setAutoFocusEnabled(boolean value)
Enabled by default.
public void setAutomaticImageScaleEstimationEnabled(boolean value)
If set to true ARKit will attempt to use the computed camera positions in order to compute the scale by which the given physical size differs from the estimated one. The information about the estimated scale can be found as the property estimatedScaleFactor on the ARImageAnchor. [@note] When set to true the transform of a returned ARImageAnchor will use the estimated scale factor to correct the translation. Default value is NO.
public void setCollaborationEnabled(boolean value)
When enabled, ARSession will output collaboration data for other participants using its delegate didOutputCollaborationData. It is the responsibility of the caller to send the data to each participant. When data is received by a participant, it should be passed to the ARSession by calling updateWithCollaborationData.
public void setDetectionImages(NSSet<? extends ARReferenceImage> value)
If set the session will attempt to detect the specified images. When an image is detected an ARImageAnchor will be added to the session.
public void setDetectionObjects(NSSet<? extends ARReferenceObject> value)
If set the session will attempt to detect the specified objects. When an object is detected an ARObjectAnchor will be added to the session.
public void setEnvironmentTexturing(long value)
If set, texture information will be accumulated and updated. Adding an AREnvironmentProbeAnchor to the session will get the current environment texture available from that probe's perspective which can be used for lighting virtual objects in the scene. Defaults to AREnvironmentTexturingNone.
public void setInitialWorldMap(ARWorldMap value)
If set, the session will attempt to localize to the provided map with a limited tracking state until localization is successful or run is called again with a different (or no) initial map specified. Once localized, the map will be extended and can again be saved using the `getCurrentWorldMap` method on the session.
public void setMaximumNumberOfTrackedImages(long value)
Setting the maximum number of tracked images will limit the number of images that can be tracked in a given frame. If more than the maximum is visible, only the images already being tracked will continue to track until tracking is lost or another image is removed. Images will continue to be detected regardless of images tracked. Default value is zero.
public void setUserFaceTrackingEnabled(boolean value)
The transform of the ARFaceAnchor objects will be in the world coordinate space.
ARFaceAnchorpublic void setWantsHDREnvironmentTextures(boolean value)
public static NSArray<? extends ARVideoFormat> supportedVideoFormats()
public static boolean supportsFrameSemantics(long frameSemantics)
public static boolean supportsUserFaceTracking()
public boolean userFaceTrackingEnabled()
The transform of the ARFaceAnchor objects will be in the world coordinate space.
ARFaceAnchorpublic boolean wantsHDREnvironmentTextures()
public long sceneReconstruction()
If set to a value other than ARSceneReconstructionNone, output of scene reconstruction will be added to the session as ARMeshAnchor objects.
ARMeshAnchorpublic void setSceneReconstruction(long value)
If set to a value other than ARSceneReconstructionNone, output of scene reconstruction will be added to the session as ARMeshAnchor objects.
ARMeshAnchorpublic static boolean supportsSceneReconstruction(long sceneReconstruction)
public boolean appClipCodeTrackingEnabled()
public void setAppClipCodeTrackingEnabled(boolean value)
public static boolean supportsAppClipCodeTracking()