Package apple.phase

Class PHASESource

  • All Implemented Interfaces:
    NSCopying, NSObject

    public class PHASESource
    extends PHASEObject
    PHASESource A PHASESource represents where sound originates within the simulated acoustic scene. PHASE supports both point sources and volumetric sources. A point source simulates the sound from a point in space. A volumetric source simulates the sound from a shape. API-Since: 15.0
    • Constructor Detail

      • PHASESource

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

        public static PHASESource 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()
      • gain

        public double gain()
        [@property] gain Linear gain scalar. [@note] Values are clamped to the range [0, 1]. Default value is 1.
      • hash_static

        public static long hash_static()
      • initWithEngineShapes

        public PHASESource initWithEngineShapes​(@NotNull
                                                @NotNull PHASEEngine engine,
                                                @NotNull
                                                @NotNull NSArray<? extends PHASEShape> shapes)
        initWithEngine:shapes: Initialize a new volumetric source with shapes. The shapes array cannot be empty, otherwise an exception is thrown. [@note] This function is thread-safe. Clients can safely run this function to create multiple sources from multiple threads, if required.
        Parameters:
        shapes - The shape(s) of the source within the world
      • 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)
      • setGain

        public void setGain​(double value)
        [@property] gain Linear gain scalar. [@note] Values are clamped to the range [0, 1]. Default value is 1.
      • setVersion_static

        public static void setVersion_static​(long aVersion)
      • shapes

        @NotNull
        public @NotNull NSArray<? extends PHASEShape> shapes()
        [@property] shapes Array of shapes associated with this source.
      • superclass_static

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

        public static long version_static()
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.