Package apple.phase

Class PHASEShape

  • All Implemented Interfaces:
    NSCopying, NSObject

    public class PHASEShape
    extends NSObject
    implements NSCopying
    [@interface] PHASEShape The physical representation of an object within the simulated acoustic scene. API-Since: 15.0
    • Constructor Detail

      • PHASEShape

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

        public static PHASEShape 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()
      • copyWithZone

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

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

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

        @NotNull
        public @NotNull NSArray<? extends PHASEShapeElement> elements()
        [@property] elements List of all the shape elements associated with this shape.
      • hash_static

        public static long hash_static()
      • initWithEngineMesh

        public PHASEShape initWithEngineMesh​(@NotNull
                                             @NotNull PHASEEngine engine,
                                             @NotNull
                                             @NotNull MDLMesh mesh)
        initWithEngine:mesh Initialize a shape from a mesh. One PHASEShapeElement will be created for every submesh within the mesh. [@note] A single shape can be used to create multiple instances of sources and occluders. For example, a client could create a single shape for a window, then create multiple occluders from it. The same can be done with with sources.
        Parameters:
        engine - The engine this shape will be used with.
        mesh - A Model I/O mesh object.
        Returns:
        A new shape object
      • initWithEngineMeshMaterials

        public PHASEShape initWithEngineMeshMaterials​(@NotNull
                                                      @NotNull PHASEEngine engine,
                                                      @NotNull
                                                      @NotNull MDLMesh mesh,
                                                      @NotNull
                                                      @NotNull NSArray<? extends PHASEMaterial> materials)
        initWithEngine:mesh Initialize a shape from an MDLMesh and a list of materials The materials array cannot be empty and cannot contain nil entries, otherwise an exception is thrown. If the number of submeshes within the mesh are less than or equal to the size of the material array, the material will be assigned to the corresponding element. If the number of submeshes within the mesh is greater than the size of the material array, the material assigned to the element will be the index of the element modulo the number of materials. IE: given a mesh with 6 submeshes and an array of 3 materials, the element at index 5 will be assigned the material at index: 5 % 3 = 2.
        Parameters:
        engine - The engine this shape will be used with
        mesh - A Model I/O mesh object.
        materials - An array of PHASEMaterial objects that overrides any acoustical materials within the mesh object
        Returns:
        A new shape 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)
      • setVersion_static

        public static void setVersion_static​(long aVersion)
      • 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.