public class ARBodyTrackingConfiguration extends ARConfiguration
Body tracking provides 6 degrees of freedom tracking of a detected body in the scene. By default, ARFrameSemanticBodyDetection will be enabled.
ARBodyAnchor,
detectedBody]NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_ret| Modifier | Constructor and Description |
|---|---|
protected |
ARBodyTrackingConfiguration(org.moe.natj.general.Pointer peer) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
accessInstanceVariablesDirectly() |
static ARBodyTrackingConfiguration |
alloc() |
static ARBodyTrackingConfiguration |
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.
|
boolean |
automaticSkeletonScaleEstimationEnabled()
Enables the estimation of a scale factor which may be used to correct the physical size of a skeleton in 3D.
|
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.
|
long |
environmentTexturing()
The mode of environment texturing to run.
|
static long |
hash_static() |
ARBodyTrackingConfiguration |
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.
|
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 ARBodyTrackingConfiguration |
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) |
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 |
setAutomaticSkeletonScaleEstimationEnabled(boolean value)
Enables the estimation of a scale factor which may be used to correct the physical size of a skeleton in 3D.
|
void |
setDetectionImages(NSSet<? extends ARReferenceImage> value)
Images 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.
|
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 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 ARBodyTrackingConfiguration(org.moe.natj.general.Pointer peer)
public static boolean accessInstanceVariablesDirectly()
public static ARBodyTrackingConfiguration alloc()
public static ARBodyTrackingConfiguration allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
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 boolean automaticSkeletonScaleEstimationEnabled()
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 default one. The information about the estimated scale can be found as the property estimatedScaleFactor on the ARBodyAnchor. [@note] When set to true the transform of a returned ARBodyAnchor will use the estimated scale factor to correct the translation. Default value is NO.
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 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 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 static long hash_static()
public ARBodyTrackingConfiguration init()
init in class ARConfigurationpublic 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 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 boolean isAutoFocusEnabled()
Enabled by default.
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 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 static ARBodyTrackingConfiguration 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 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 setAutomaticSkeletonScaleEstimationEnabled(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 default one. The information about the estimated scale can be found as the property estimatedScaleFactor on the ARBodyAnchor. [@note] When set to true the transform of a returned ARBodyAnchor will use the estimated scale factor to correct the translation. Default value is NO.
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 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 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 void setWantsHDREnvironmentTextures(boolean value)
public static org.moe.natj.objc.Class superclass_static()
public static NSArray<? extends ARVideoFormat> supportedVideoFormats()
public static boolean supportsFrameSemantics(long frameSemantics)
public static long version_static()
public boolean wantsHDREnvironmentTextures()
public boolean appClipCodeTrackingEnabled()
public void setAppClipCodeTrackingEnabled(boolean value)
public static boolean supportsAppClipCodeTracking()