Class SCNConstraint

    • Constructor Detail

      • SCNConstraint

        protected SCNConstraint​(org.moe.natj.general.Pointer peer)
    • Method Detail

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

        public static SCNConstraint allocWithZone​(org.moe.natj.general.ptr.VoidPtr zone)
      • automaticallyNotifiesObserversForKey

        public static boolean automaticallyNotifiesObserversForKey​(@NotNull
                                                                   @NotNull java.lang.String key)
      • cancelPreviousPerformRequestsWithTarget

        public static void cancelPreviousPerformRequestsWithTarget​(@NotNull
                                                                   @NotNull java.lang.Object aTarget)
      • cancelPreviousPerformRequestsWithTargetSelectorObject

        public static void cancelPreviousPerformRequestsWithTargetSelectorObject​(@NotNull
                                                                                 @NotNull java.lang.Object aTarget,
                                                                                 @NotNull
                                                                                 @NotNull org.moe.natj.objc.SEL aSelector,
                                                                                 @Nullable
                                                                                 @Nullable java.lang.Object anArgument)
      • classFallbacksForKeyedArchiver

        @NotNull
        public static @NotNull NSArray<java.lang.String> classFallbacksForKeyedArchiver()
      • classForKeyedUnarchiver

        @NotNull
        public static @NotNull 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)
      • keyPathsForValuesAffectingValueForKey

        @NotNull
        public static @NotNull NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey​(@NotNull
                                                                                             @NotNull java.lang.String key)
      • 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()
      • supportsSecureCoding

        public static boolean supportsSecureCoding()
      • version_static

        public static long version_static()
      • addAnimationForKey

        public void addAnimationForKey​(@NotNull
                                       @NotNull SCNAnimation animation,
                                       @Nullable
                                       @Nullable java.lang.String key)
        Description copied from interface: SCNAnimatable
        addAnimation:forKey: Adds and runs an animation Only SCNAnimation (preferred), CABasicAnimation, CAKeyframeAnimation and CAAnimationGroup are supported. The animation starts playing right away. The animation is automatically removed on completion unless if removedOnCompletion is explicitly set to NO.
        Specified by:
        addAnimationForKey in interface SCNAnimatable
        Parameters:
        animation - Added animation.
        key - May be any string such that only one animation per unique key is added per animatable object.
      • animationForKey

        @Nullable
        @Deprecated
        public @Nullable CAAnimation animationForKey​(@NotNull
                                                     @NotNull java.lang.String key)
        Deprecated.
        Description copied from interface: SCNAnimatable
        animationForKey: Returns the animation with the given identifier This will return nil if no such animation exists. Attempting to modify any properties of the returned object will result in undefined behavior. API-Since: 8.0 Deprecated-Since: 11.0
        Specified by:
        animationForKey in interface SCNAnimatable
        Parameters:
        key - The identifier for the animation to retrieve.
      • animationKeys

        @NotNull
        public @NotNull NSArray<java.lang.String> animationKeys()
        Description copied from interface: SCNAnimatable
        [@property] animationKeys Returns an array containing the keys of all animations currently attached to the receiver.
        Specified by:
        animationKeys in interface SCNAnimatable
      • copyWithZone

        @NotNull
        public @NotNull java.lang.Object copyWithZone​(@Nullable
                                                      @Nullable org.moe.natj.general.ptr.VoidPtr zone)
        Specified by:
        copyWithZone in interface NSCopying
      • influenceFactor

        public double influenceFactor()
        [@property] influenceFactor Specifies the inflence factor of the receiver. Defaults to 1. Animatable
      • isAnimationForKeyPaused

        @Deprecated
        public boolean isAnimationForKeyPaused​(@NotNull
                                               @NotNull java.lang.String key)
        Deprecated.
        Description copied from interface: SCNAnimatable
        isAnimationForKeyPaused: Returns whether the animation for the specified identifier is paused.
        Specified by:
        isAnimationForKeyPaused in interface SCNAnimatable
        Parameters:
        key - The identifier for the animation to query. API-Since: 8.0 Deprecated-Since: 11.0 Deprecated-Message: Use -[SCNAnimationPlayer paused] instead
      • pauseAnimationForKey

        @Deprecated
        public void pauseAnimationForKey​(@NotNull
                                         @NotNull java.lang.String key)
        Deprecated.
        Description copied from interface: SCNAnimatable
        pauseAnimationForKey: Pause the animation with the given identifier.
        Specified by:
        pauseAnimationForKey in interface SCNAnimatable
        Parameters:
        key - The identifier for the animation to pause. API-Since: 8.0 Deprecated-Since: 11.0 Deprecated-Message: Use -[SCNAnimationPlayer setPaused:] instead
      • removeAnimationForKey

        public void removeAnimationForKey​(@NotNull
                                          @NotNull java.lang.String key)
        Description copied from interface: SCNAnimatable
        removeAnimationForKey Remove the animation with the given identifier.
        Specified by:
        removeAnimationForKey in interface SCNAnimatable
        Parameters:
        key - The identifier for the animation to remove.
      • removeAnimationForKeyFadeOutDuration

        @Deprecated
        public void removeAnimationForKeyFadeOutDuration​(@NotNull
                                                         @NotNull java.lang.String key,
                                                         double duration)
        Deprecated.
        Description copied from interface: SCNAnimatable
        removeAnimationForKey:fadeOutDuration: Smoothly remove the animation with the given identifier.
        Specified by:
        removeAnimationForKeyFadeOutDuration in interface SCNAnimatable
        Parameters:
        key - The identifier for the animation to remove.
        duration - The fade out duration used to remove the animation. API-Since: 8.0 Deprecated-Since: 11.0
      • resumeAnimationForKey

        @Deprecated
        public void resumeAnimationForKey​(@NotNull
                                          @NotNull java.lang.String key)
        Deprecated.
        Description copied from interface: SCNAnimatable
        resumeAnimationForKey: Resume the animation with the given identifier.
        Specified by:
        resumeAnimationForKey in interface SCNAnimatable
        Parameters:
        key - The identifier for the animation to resume. API-Since: 8.0 Deprecated-Since: 11.0 Deprecated-Message: Use -[SCNAnimationPlayer setPaused:] instead
      • setInfluenceFactor

        public void setInfluenceFactor​(double value)
        [@property] influenceFactor Specifies the inflence factor of the receiver. Defaults to 1. Animatable
      • setSpeedForAnimationKey

        @Deprecated
        public void setSpeedForAnimationKey​(double speed,
                                            @NotNull
                                            @NotNull java.lang.String key)
        Deprecated.
        Description copied from interface: SCNAnimatable
        setSpeed:forAnimationKey: Update the animation speed of the animation with the given identifier.
        Specified by:
        setSpeedForAnimationKey in interface SCNAnimatable
        Parameters:
        speed - The new speed of the animation.
        key - The identifier for the animation to update. API-Since: 10.0 Deprecated-Since: 11.0 Deprecated-Message: Use -[SCNAnimationPlayer setSpeed:] instead
      • _supportsSecureCoding

        public boolean _supportsSecureCoding()
        Description copied from interface: NSSecureCoding
        This property must return YES on all classes that allow secure coding. Subclasses of classes that adopt NSSecureCoding and override initWithCoder: must also override this method and return YES. The Secure Coding Guide should be consulted when writing methods that decode data.
        Specified by:
        _supportsSecureCoding in interface NSSecureCoding
      • addAnimationPlayerForKey

        public void addAnimationPlayerForKey​(@NotNull
                                             @NotNull SCNAnimationPlayer player,
                                             @Nullable
                                             @Nullable java.lang.String key)
        Description copied from interface: SCNAnimatable
        addAnimationPlayer:forKey: Add an animation player. The animation player is not removed automatically on completion. The animation doesn't start playing immediatelly. Call "play" on the player to start playing it.
        Specified by:
        addAnimationPlayerForKey in interface SCNAnimatable
        Parameters:
        player - Added animation player.
        key - May be any string such that only one animation per unique key is added per animatable object.
      • animationPlayerForKey

        @Nullable
        public @Nullable SCNAnimationPlayer animationPlayerForKey​(@NotNull
                                                                  @NotNull java.lang.String key)
        Description copied from interface: SCNAnimatable
        animationPlayerForKey: Returns the animation player with the given identifier This will return nil if no such animation player exists. API-Since: 11.0
        Specified by:
        animationPlayerForKey in interface SCNAnimatable
        Parameters:
        key - The identifier for the animation player to retrieve.
      • isEnabled

        public boolean isEnabled()
        [@property] enable Determines whether the constraint is enabled or not. Defaults to YES.
      • isIncremental

        public boolean isIncremental()
        [@property] incremental Specifies whether or not the contraint should applies incrementally and have it's effect being cumulated over the rendered frames. Defaults to YES starting macOS 10.13, iOS 11, tvOS 11 and watchOS 4. Defaults to NO in previous versions. API-Since: 11.0
      • removeAnimationForKeyBlendOutDuration

        public void removeAnimationForKeyBlendOutDuration​(@NotNull
                                                          @NotNull java.lang.String key,
                                                          double duration)
        Description copied from interface: SCNAnimatable
        removeAnimationForKey:blendOutDuration: Smoothly remove the animation with the given identifier.
        Specified by:
        removeAnimationForKeyBlendOutDuration in interface SCNAnimatable
        Parameters:
        key - The identifier for the animation to remove.
        duration - The blend out duration used to remove the animation. API-Since: 11.0
      • setEnabled

        public void setEnabled​(boolean value)
        [@property] enable Determines whether the constraint is enabled or not. Defaults to YES.
      • setIncremental

        public void setIncremental​(boolean value)
        [@property] incremental Specifies whether or not the contraint should applies incrementally and have it's effect being cumulated over the rendered frames. Defaults to YES starting macOS 10.13, iOS 11, tvOS 11 and watchOS 4. Defaults to NO in previous versions. API-Since: 11.0
      • removeAllAnimationsWithBlendOutDuration

        public void removeAllAnimationsWithBlendOutDuration​(double duration)
        Description copied from interface: SCNAnimatable
        removeAllAnimationsWithBlendOutDuration Smoothly remove all animations.
        Specified by:
        removeAllAnimationsWithBlendOutDuration in interface SCNAnimatable
        Parameters:
        duration - The blend out duration used to remove the animation. API-Since: 15.0
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.