Package apple.arkit

Class ARFaceTrackingConfiguration

  • All Implemented Interfaces:
    NSCopying, NSObject

    public class ARFaceTrackingConfiguration
    extends ARConfiguration
    A configuration for running face tracking. Face tracking uses the front facing camera to track the face in 3D providing details on the topology and expression of the face. A detected face will be added to the session as an ARFaceAnchor object which contains information about head pose, mesh, eye pose, and blend shape coefficients. If light estimation is enabled the detected face will be treated as a light probe and used to estimate the direction of incoming light.
    • Constructor Detail

      • ARFaceTrackingConfiguration

        protected ARFaceTrackingConfiguration​(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)
      • isSupported

        public static boolean isSupported()
      • 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()
      • isWorldTrackingEnabled

        public boolean isWorldTrackingEnabled()
        Enable or disable World Tracking. Disabled by default. When enabled, ARSession uses the back facing camera to track the device's orientation and position in the world. The camera transform and the ARFaceAnchor transform will be in the world coordinate space.
      • maximumNumberOfTrackedFaces

        public long maximumNumberOfTrackedFaces()
        Maximum number of faces to track simultaneously. Setting the maximum number of tracked faces will limit the number of faces that can be tracked in a given frame. If more than the maximum is visible, only the faces already being tracked will continue to track until tracking is lost or another face is removed. Default value is one.
      • setMaximumNumberOfTrackedFaces

        public void setMaximumNumberOfTrackedFaces​(long value)
        Maximum number of faces to track simultaneously. Setting the maximum number of tracked faces will limit the number of faces that can be tracked in a given frame. If more than the maximum is visible, only the faces already being tracked will continue to track until tracking is lost or another face is removed. Default value is one.
      • setWorldTrackingEnabled

        public void setWorldTrackingEnabled​(boolean value)
        Enable or disable World Tracking. Disabled by default. When enabled, ARSession uses the back facing camera to track the device's orientation and position in the world. The camera transform and the ARFaceAnchor transform will be in the world coordinate space.
      • supportedNumberOfTrackedFaces

        public static long supportedNumberOfTrackedFaces()
        Maximum number of faces which can be tracked simultaneously.
      • supportsFrameSemantics

        public static boolean supportsFrameSemantics​(long frameSemantics)
      • supportsWorldTracking

        public static boolean supportsWorldTracking()
        Indicates whether world tracking can be enabled on this device.