Package apple.phase

Class PHASEGroupPreset

  • All Implemented Interfaces:
    NSObject

    public class PHASEGroupPreset
    extends NSObject
    [@interface] PHASEGroupPreset A PHASEGroupPreset holds a collection of PHASEGroupPresetSetting objects and other parameters to be applied all at once during playback. Initialize beforehand, and use activate or deactivate to switch to the new preset during playback. Activating a preset will automatically deactivate the current one. API-Since: 15.0
    • Constructor Detail

      • PHASEGroupPreset

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • activate

        public void activate()
        activate Activate this preset in the PHASEEngine object it was initialized with. The internal timeToTarget value is used. The current preset will be deactivated automatically.
      • activateWithTimeToTargetOverride

        public void activateWithTimeToTargetOverride​(double timeToTargetOverride)
        activateWithTimeToTargetOverride Activate this preset in the PHASEEngine object it was initialized with. The current preset will be deactivated automatically. [@note] The timeToTargetOverride is scaled by unitsPerSecond internally, so can be provided at the client's native time scale.
        Parameters:
        timeToTargetOverride - Override the timeToTarget value in the preset with this value.
      • allocWithZone

        public static PHASEGroupPreset 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()
      • deactivate

        public void deactivate()
        deactivate Deactivate this preset and return the system to default unity values. The internal timeToReset value is used.
      • deactivateWithTimeToResetOverride

        public void deactivateWithTimeToResetOverride​(double timeToResetOverride)
        deactivateWithTimeToResetOverride Deactivate this preset and return the system to default unity values. [@note] The timeToResetOverride is scaled by unitsPerSecond internally, so can be provided at the client's native time scale.
        Parameters:
        timeToResetOverride - Override the timeToReset value in the preset with this value.
      • 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()
      • initWithEngineSettingsTimeToTargetTimeToReset

        public PHASEGroupPreset initWithEngineSettingsTimeToTargetTimeToReset​(@NotNull
                                                                              @NotNull PHASEEngine engine,
                                                                              @NotNull
                                                                              @NotNull NSDictionary<java.lang.String,​? extends PHASEGroupPresetSetting> settings,
                                                                              double timeToTarget,
                                                                              double timeToReset)
        initWithEngine Create a new PHASEGroupPreset object with a given PHASEEngine object. [@note] The timeToTarget and timeToReset are scaled by unitsPerSecond internally, so can be provided at the client's native time scale.
        Parameters:
        engine - The PHASEEngine object to register this preset with.
        settings - A dictionary containing PHASEGroupPresetSetting objects paired with PHASEGroup objects as keys.
        timeToTarget - The time interval that all group settings in this preset will take to gradually fade to the new value
        timeToReset - The time interval that all group settings in this preset will take to gradually fade to the unity value
      • 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)
      • settings

        @NotNull
        public @NotNull NSDictionary<java.lang.String,​? extends PHASEGroupPresetSetting> settings()
        [@property] settings The collection of PHASEGroupPresetSetting objects to apply when this preset is activated.
      • superclass_static

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

        public double timeToReset()
        [@property] timeToReset The time interval that all group settings in this preset will take to gradually fade to the unity value [@note] The timeToReset is scaled by unitsPerSecond internally, so can be provided at the client's native time scale.
      • timeToTarget

        public double timeToTarget()
        [@property] timeToTarget The time interval that all group settings in this preset will take to gradually fade to the new value [@note] The timeToTarget is scaled by unitsPerSecond internally, so can be provided at the client's native time scale.
      • version_static

        public static long version_static()
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.