Class SKView

All Implemented Interfaces:
CALayerDelegate, NSCoding, NSObjectProtocol, UIAccessibilityIdentification, UIActivityItemsConfigurationProviding, UIAppearanceContainer, UICoordinateSpace, UIDynamicItem, UIFocusEnvironment, UIFocusItem, UIFocusItemContainer, UILargeContentViewerItem, UIPasteConfigurationSupporting, UIResponderStandardEditActions, UITraitEnvironment, UIUserActivityRestoring, ObjCProtocol
Direct Known Subclasses:
ARSKView

public class SKView
extends UIView
  • Constructor Details

    • SKView

      public SKView()
    • SKView

      protected SKView​(NSObject.Handle h, long handle)
    • SKView

      protected SKView​(NSObject.SkipInit skipInit)
    • SKView

      public SKView​(CGRect frame)
    • SKView

      public SKView​(NSCoder coder)
  • Method Details

    • isPaused

      public boolean isPaused()
    • setPaused

      public void setPaused​(boolean v)
    • showsFPS

      public boolean showsFPS()
    • setShowsFPS

      public void setShowsFPS​(boolean v)
    • showsDrawCount

      public boolean showsDrawCount()
    • setShowsDrawCount

      public void setShowsDrawCount​(boolean v)
    • showsNodeCount

      public boolean showsNodeCount()
    • setShowsNodeCount

      public void setShowsNodeCount​(boolean v)
    • showsQuadCount

      public boolean showsQuadCount()
    • setShowsQuadCount

      public void setShowsQuadCount​(boolean v)
    • showsPhysics

      public boolean showsPhysics()
    • setShowsPhysics

      public void setShowsPhysics​(boolean v)
    • showsFields

      public boolean showsFields()
    • setShowsFields

      public void setShowsFields​(boolean v)
    • isAsynchronous

      public boolean isAsynchronous()
    • setAsynchronous

      public void setAsynchronous​(boolean v)
    • allowsTransparency

      public boolean allowsTransparency()
    • setAllowsTransparency

      public void setAllowsTransparency​(boolean v)
    • ignoresSiblingOrder

      public boolean ignoresSiblingOrder()
    • setIgnoresSiblingOrder

      public void setIgnoresSiblingOrder​(boolean v)
    • shouldCullNonVisibleNodes

      public boolean shouldCullNonVisibleNodes()
    • setShouldCullNonVisibleNodes

      public void setShouldCullNonVisibleNodes​(boolean v)
    • getPreferredFramesPerSecond

      public long getPreferredFramesPerSecond()
      Since:
      Available in iOS 10.0 and later.
    • setPreferredFramesPerSecond

      public void setPreferredFramesPerSecond​(long v)
      Since:
      Available in iOS 10.0 and later.
    • isDisableDepthStencilBuffer

      public boolean isDisableDepthStencilBuffer()
    • setDisableDepthStencilBuffer

      public void setDisableDepthStencilBuffer​(boolean v)
    • getDelegate

      public SKViewDelegate getDelegate()
      Since:
      Available in iOS 10.0 and later.
    • setDelegate

      public void setDelegate​(SKViewDelegate v)
      Since:
      Available in iOS 10.0 and later.
    • getFrameInterval

      @Deprecated public long getFrameInterval()
      Deprecated.
      Deprecated in iOS 10.0.
    • setFrameInterval

      @Deprecated public void setFrameInterval​(long v)
      Deprecated.
      Deprecated in iOS 10.0.
    • getPreferredFrameRate

      @Deprecated public float getPreferredFrameRate()
      Deprecated.
      Deprecated in iOS 10.0.
      Since:
      Available in iOS 10.0 and later.
    • setPreferredFrameRate

      @Deprecated public void setPreferredFrameRate​(float v)
      Deprecated.
      Deprecated in iOS 10.0.
      Since:
      Available in iOS 10.0 and later.
    • getScene

      public SKScene getScene()
    • getLayerClass

      public static Class<? extends CALayer> getLayerClass()
    • presentScene

      public void presentScene​(SKScene scene)
    • presentScene

      public void presentScene​(SKScene scene, SKTransition transition)
    • getTextureFromNode

      public SKTexture getTextureFromNode​(SKNode node)
    • getTextureFromNode

      public SKTexture getTextureFromNode​(SKNode node, CGRect crop)
    • convertPointToScene

      public CGPoint convertPointToScene​(CGPoint point, SKScene scene)
    • convertPointFromScene

      public CGPoint convertPointFromScene​(CGPoint point, SKScene scene)
    • getUserInterfaceLayoutDirection

      public static UIUserInterfaceLayoutDirection getUserInterfaceLayoutDirection​(UISemanticContentAttribute attribute)
      Since:
      Available in iOS 9.0 and later.
    • getUserInterfaceLayoutDirection

      public static UIUserInterfaceLayoutDirection getUserInterfaceLayoutDirection​(UISemanticContentAttribute semanticContentAttribute, UIUserInterfaceLayoutDirection layoutDirection)
      Since:
      Available in iOS 10.0 and later.