Package apple.modelio

Class MDLObject

    • Constructor Detail

      • MDLObject

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

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

        @NotNull
        public static @NotNull NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey​(@NotNull
                                                                                             @NotNull java.lang.String key)
      • new_objc

        public static MDLObject new_objc()
      • objectWithSCNNode

        public static MDLObject objectWithSCNNode​(@NotNull
                                                  @NotNull SCNNode scnNode)
        API-Since: 9.0
      • objectWithSCNNodeBufferAllocator

        public static MDLObject objectWithSCNNodeBufferAllocator​(@NotNull
                                                                 @NotNull SCNNode scnNode,
                                                                 @Nullable
                                                                 @Nullable MDLMeshBufferAllocator bufferAllocator)
        API-Since: 10.0
      • 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()
      • addChild

        public void addChild​(@NotNull
                             @NotNull MDLObject child)
        addChild: Short hand for adding a child to the current container component and setting the parent to this object. It will create a default container if none exists. If children are explicitly disallowed for an object, then add a container component that throws on addition.
        See Also:
        MDLObjectContainer
      • enumerateChildObjectsOfClassRootUsingBlockStopPointer

        public void enumerateChildObjectsOfClassRootUsingBlockStopPointer​(@NotNull
                                                                          @NotNull org.moe.natj.objc.Class objectClass,
                                                                          @NotNull
                                                                          @NotNull MDLObject root,
                                                                          @NotNull
                                                                          @NotNull MDLObject.Block_enumerateChildObjectsOfClassRootUsingBlockStopPointer block,
                                                                          @NotNull
                                                                          @NotNull org.moe.natj.general.ptr.BoolPtr stopPointer)
        API-Since: 11.0
      • hidden

        public boolean hidden()
        [@property] hidden Visibility of the node default is NO
      • instance

        @Nullable
        public @Nullable MDLObject instance()
        [@property] instance Instance object nil, unless this object refers to original data to be instanced. The original data object can be any MDLObject that does not have a parent. If an MDLAsset has been created from a data file, any original objects parsed from that file will be found in the originals property. A typical use of a original and instance might be to have one original chair MDLObject, and instance six chairs around a table. The transform of each chair would be found on the parent MDLObject, but the various items making up the chair would be found in the original object.
      • name

        @NotNull
        public @NotNull java.lang.String name()
        Specified by:
        name in interface MDLNamed
      • objectAtPath

        @NotNull
        public @NotNull MDLObject objectAtPath​(@NotNull
                                               @NotNull java.lang.String path)
        Return the object at the specified path, or nil if none exists there
      • parent

        @Nullable
        public @Nullable MDLObject parent()
        [@property] parent Parent object. Nil if no parent. Set to nil when you remove this from an object container inside the parent object.
      • path

        @NotNull
        public @NotNull java.lang.String path()
        [@property] path a string representing a path to the object a path is of the form /path/to/object where the path is formed by concatenating the names of the objects up the parent chain. Requesting a path will force any unnamed objects to became uniquely named. Any characters outside of [A-Z][a-z][0-9][:-_.] will be forced to underscore.
      • setHidden

        public void setHidden​(boolean value)
        [@property] hidden Visibility of the node default is NO
      • setInstance

        public void setInstance​(@Nullable
                                @Nullable MDLObject value)
        [@property] instance Instance object nil, unless this object refers to original data to be instanced. The original data object can be any MDLObject that does not have a parent. If an MDLAsset has been created from a data file, any original objects parsed from that file will be found in the originals property. A typical use of a original and instance might be to have one original chair MDLObject, and instance six chairs around a table. The transform of each chair would be found on the parent MDLObject, but the various items making up the chair would be found in the original object.
      • setName

        public void setName​(@NotNull
                            @NotNull java.lang.String value)
        Specified by:
        setName in interface MDLNamed
      • setParent_unsafe

        public void setParent_unsafe​(@Nullable
                                     @Nullable MDLObject value)
        [@property] parent Parent object. Nil if no parent. Set to nil when you remove this from an object container inside the parent object.
      • setParent

        public void setParent​(@Nullable
                              @Nullable MDLObject value)
        [@property] parent Parent object. Nil if no parent. Set to nil when you remove this from an object container inside the parent object.
      • setTransform

        public void setTransform​(@Nullable
                                 @Nullable MDLTransformComponent value)
        [@property] transform Short hand property for the MDLTransformComponent. The default value is nil
        See Also:
        MDLTransformComponent
      • components

        @NotNull
        public @NotNull NSArray<?> components()
        [@property] components Allows applications to introspect the components on the objects.
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.