Class SCNTransaction

  • All Implemented Interfaces:
    NSObject

    public class SCNTransaction
    extends NSObject
    Transactions are SceneKit's mechanism for batching multiple scene graph operations into atomic updates. Every modification to the scene graph requires a transaction to be part of.
    • Constructor Detail

      • SCNTransaction

        protected SCNTransaction​(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)
      • animationDuration

        public static double animationDuration()
        Accessors for the "animationDuration" per-thread transaction property. Defines the default duration of animations. Defaults to 1/4s for explicit transactions, 0s for implicit transactions.
      • animationTimingFunction

        public static CAMediaTimingFunction animationTimingFunction()
        Accessors for the "animationTimingFunction" per-thread transaction property. The default value is nil, when set to a non-nil value any animations added to scene graph will have this value set as their "timingFunction" property.
      • automaticallyNotifiesObserversForKey

        public static boolean automaticallyNotifiesObserversForKey​(java.lang.String key)
      • begin

        public static void begin()
        Begin a new transaction for the current thread; nests.
      • 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()
      • commit

        public static void commit()
        Commit all changes made during the current transaction.
      • completionBlock

        public static SCNTransaction.Block_completionBlock_ret completionBlock()
        Accessors for the "completionBlock" per-thread transaction property. Once set to a non-nil value the block is guaranteed to be called (on the main thread) as soon as all animations subsequently added by this transaction group have completed (or been removed).
      • debugDescription_static

        public static java.lang.String debugDescription_static()
      • description_static

        public static java.lang.String description_static()
      • disableActions

        public static boolean disableActions()
        Accessors for the "disableActions" per-thread transaction property. Defines whether or not the implicit animations are performed. Defaults to NO, i.e. implicit animations enabled.
      • flush

        public static void flush()
        Commits any extant implicit transaction. Will delay the actual commit until any nested explicit transactions have completed.
      • 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

        public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey​(java.lang.String key)
      • lock

        public static void lock()
        Methods to lock and unlock the global lock.
      • 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)
      • setAnimationDuration

        public static void setAnimationDuration​(double value)
        Accessors for the "animationDuration" per-thread transaction property. Defines the default duration of animations. Defaults to 1/4s for explicit transactions, 0s for implicit transactions.
      • setAnimationTimingFunction

        public static void setAnimationTimingFunction​(CAMediaTimingFunction value)
        Accessors for the "animationTimingFunction" per-thread transaction property. The default value is nil, when set to a non-nil value any animations added to scene graph will have this value set as their "timingFunction" property.
      • setCompletionBlock

        public static void setCompletionBlock​(SCNTransaction.Block_setCompletionBlock value)
        Accessors for the "completionBlock" per-thread transaction property. Once set to a non-nil value the block is guaranteed to be called (on the main thread) as soon as all animations subsequently added by this transaction group have completed (or been removed).
      • setDisableActions

        public static void setDisableActions​(boolean value)
        Accessors for the "disableActions" per-thread transaction property. Defines whether or not the implicit animations are performed. Defaults to NO, i.e. implicit animations enabled.
      • setValueForKey_static

        public static void setValueForKey_static​(java.lang.Object value,
                                                 java.lang.String key)
      • setVersion_static

        public static void setVersion_static​(long aVersion)
      • superclass_static

        public static org.moe.natj.objc.Class superclass_static()
      • unlock

        public static void unlock()
      • valueForKey_static

        public static java.lang.Object valueForKey_static​(java.lang.String key)
        Associate arbitrary keyed-data with the current transaction (i.e. with the current thread).
      • version_static

        public static long version_static()