Class SK3DNode

    • Constructor Detail

      • SK3DNode

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • alloc

        public static SK3DNode alloc()
      • allocWithZone

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

        public static void clearTextInputContextIdentifier​(@NotNull
                                                           @NotNull java.lang.String identifier)
      • 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 SK3DNode new_objc()
      • nodeWithFileNamed

        public static SK3DNode nodeWithFileNamed​(@NotNull
                                                 @NotNull java.lang.String filename)
      • nodeWithViewportSize

        public static SK3DNode nodeWithViewportSize​(CGSize viewportSize)
        Create a 3D Node with the viewport size the 3D content will be rendered with.
      • obstaclesFromNodePhysicsBodies

        @NotNull
        public static @NotNull NSArray<? extends GKPolygonObstacle> obstaclesFromNodePhysicsBodies​(@NotNull
                                                                                                   @NotNull NSArray<? extends SKNode> nodes)
      • obstaclesFromSpriteTexturesAccuracy

        @NotNull
        public static @NotNull NSArray<? extends GKPolygonObstacle> obstaclesFromSpriteTexturesAccuracy​(@NotNull
                                                                                                        @NotNull NSArray<? extends SKNode> sprites,
                                                                                                        float accuracy)
      • 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()
      • autoenablesDefaultLighting

        public boolean autoenablesDefaultLighting()
        [@property] autoenablesDefaultLighting Specifies whether the receiver should automatically light up scenes that have no light source. The default is NO. When enabled, a diffuse light is automatically added and placed while rendering scenes that have no light or only ambient lights.
      • hitTestOptions

        @NotNull
        public @NotNull NSArray<? extends SCNHitTestResult> hitTestOptions​(CGPoint point,
                                                                           @Nullable
                                                                           @Nullable NSDictionary<java.lang.String,​?> options)
        hitTest:options: Returns an array of SCNHitTestResult for each node that contains a specified point.
        Parameters:
        point - A point in the coordinate system of the receiver.
        options - Optional parameters (see the "Hit test options" group for the available options).
      • initWithViewportSize

        public SK3DNode initWithViewportSize​(CGSize viewportSize)
        Designated initializer. Initialize a 3D Node with the viewport size the 3D content will be rendered with.
      • isPlaying

        public boolean isPlaying()
        [@property] playing Returns YES if the scene is playing, NO otherwise.
      • setPlaying

        public void setPlaying​(boolean value)
        [@property] playing Returns YES if the scene is playing, NO otherwise.
      • loops

        public boolean loops()
        [@property] loops Indicates whether the receiver restarts playback when it reaches the end of its content. Default: YES. YES when the receiver restarts playback when it finishes, NO otherwise.
      • pointOfView

        @Nullable
        public @Nullable SCNNode pointOfView()
        [@property] pointOfView Specifies the point of view used to render the scene. A point of view must have either a camera or a spot light attached.
      • sceneTime

        public double sceneTime()
        [@property] sceneTime Specifies the current time to display the scene.
      • scnScene

        @Nullable
        public @Nullable SCNScene scnScene()
        A SceneKit scene
      • setAutoenablesDefaultLighting

        public void setAutoenablesDefaultLighting​(boolean value)
        [@property] autoenablesDefaultLighting Specifies whether the receiver should automatically light up scenes that have no light source. The default is NO. When enabled, a diffuse light is automatically added and placed while rendering scenes that have no light or only ambient lights.
      • setLoops

        public void setLoops​(boolean value)
        [@property] loops Indicates whether the receiver restarts playback when it reaches the end of its content. Default: YES. YES when the receiver restarts playback when it finishes, NO otherwise.
      • setPointOfView

        public void setPointOfView​(@Nullable
                                   @Nullable SCNNode value)
        [@property] pointOfView Specifies the point of view used to render the scene. A point of view must have either a camera or a spot light attached.
      • setSceneTime

        public void setSceneTime​(double value)
        [@property] sceneTime Specifies the current time to display the scene.
      • setScnScene

        public void setScnScene​(@Nullable
                                @Nullable SCNScene value)
        A SceneKit scene
      • setViewportSize

        public void setViewportSize​(CGSize value)
        The viewport size that the 3D content will be rendered with
      • viewportSize

        public CGSize viewportSize()
        The viewport size that the 3D content will be rendered with
      • nodeWithFileNamedSecurelyWithClassesAndError

        public static SK3DNode nodeWithFileNamedSecurelyWithClassesAndError​(@NotNull
                                                                            @NotNull java.lang.String filename,
                                                                            @NotNull
                                                                            @NotNull NSSet<? extends org.moe.natj.objc.Class> classes,
                                                                            @Nullable
                                                                            @Nullable org.moe.natj.general.ptr.Ptr<NSError> error)
      • supportsSecureCoding

        public static boolean supportsSecureCoding()
      • _supportsSecureCoding

        public boolean _supportsSecureCoding()
        Description copied from interface: NSSecureCoding
        This property must return YES on all classes that allow secure coding. Subclasses of classes that adopt NSSecureCoding and override initWithCoder: must also override this method and return YES. The Secure Coding Guide should be consulted when writing methods that decode data.
        Specified by:
        _supportsSecureCoding in interface NSSecureCoding
        Overrides:
        _supportsSecureCoding in class SKNode
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.