Package apple.phase

Class PHASERandomNodeDefinition

  • All Implemented Interfaces:
    NSObject

    public class PHASERandomNodeDefinition
    extends PHASESoundEventNodeDefinition
    [@interface] PHASERandomNodeDefinition An object for defining a random sound event node when building a sound event. A random node selects one of its children based on a weighted random choice. API-Since: 15.0
    • Constructor Detail

      • PHASERandomNodeDefinition

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • addSubtreeWeight

        public void addSubtreeWeight​(@NotNull
                                     @NotNull PHASESoundEventNodeDefinition subtree,
                                     @NotNull
                                     @NotNull NSNumber weight)
        addSubtree Add a subtree to a random node
        Parameters:
        subtree - A PHASESoundEventNodeDefinition that will be a child node of this random node
        weight - The probability weight of this subtree. Higher numbers compared to other subtree weights will increase the likelihood of being chosen. This value must be greater than or equal to 1, and is clamped otherwise.
      • 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()
      • initWithIdentifier

        public PHASERandomNodeDefinition initWithIdentifier​(@NotNull
                                                            @NotNull java.lang.String identifier)
        initWithIdentifier Create a random node definition
        Parameters:
        identifier - An optional custom identifier to give to this object
        Returns:
        A new PHASERandomNodeDefinition object
      • 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)
      • setUniqueSelectionQueueLength

        public void setUniqueSelectionQueueLength​(long value)
        [@property] uniqueSelectionQueueLength Subtrees will not be repeated until after this random node is activated uniqueSelectionQueueLength number of times.
      • setVersion_static

        public static void setVersion_static​(long aVersion)
      • superclass_static

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

        public long uniqueSelectionQueueLength()
        [@property] uniqueSelectionQueueLength Subtrees will not be repeated until after this random node is activated uniqueSelectionQueueLength number of times.
      • version_static

        public static long version_static()
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.