Class SKSpriteNode

    • Constructor Detail

      • SKSpriteNode

        public SKSpriteNode()
      • SKSpriteNode

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

        public SKSpriteNode​(SKTexture texture)
      • SKSpriteNode

        public SKSpriteNode​(java.lang.String name)
      • SKSpriteNode

        public SKSpriteNode​(UIColor color,
                            CGSize size)
      • SKSpriteNode

        public SKSpriteNode​(NSCoder aDecoder)
      • SKSpriteNode

        public SKSpriteNode​(java.lang.String name,
                            boolean generateNormalMap)
    • Method Detail

      • setTexture

        public void setTexture​(SKTexture v)
      • getNormalTexture

        public SKTexture getNormalTexture()
        Since:
        Available in iOS 8.0 and later.
      • setNormalTexture

        public void setNormalTexture​(SKTexture v)
        Since:
        Available in iOS 8.0 and later.
      • getLightingBitMask

        public int getLightingBitMask()
        Since:
        Available in iOS 8.0 and later.
      • setLightingBitMask

        public void setLightingBitMask​(int v)
        Since:
        Available in iOS 8.0 and later.
      • getShadowCastBitMask

        public int getShadowCastBitMask()
        Since:
        Available in iOS 8.0 and later.
      • setShadowCastBitMask

        public void setShadowCastBitMask​(int v)
        Since:
        Available in iOS 8.0 and later.
      • getShadowedBitMask

        public int getShadowedBitMask()
        Since:
        Available in iOS 8.0 and later.
      • setShadowedBitMask

        public void setShadowedBitMask​(int v)
        Since:
        Available in iOS 8.0 and later.
      • getCenterRect

        public CGRect getCenterRect()
      • setCenterRect

        public void setCenterRect​(CGRect v)
      • getColorBlendFactor

        public double getColorBlendFactor()
      • setColorBlendFactor

        public void setColorBlendFactor​(double v)
      • getColor

        public UIColor getColor()
      • setColor

        public void setColor​(UIColor v)
      • setBlendMode

        public void setBlendMode​(SKBlendMode v)
      • getAnchorPoint

        public CGPoint getAnchorPoint()
      • setAnchorPoint

        public void setAnchorPoint​(CGPoint v)
      • getSize

        public CGSize getSize()
      • setSize

        public void setSize​(CGSize v)
      • getShader

        public SKShader getShader()
        Since:
        Available in iOS 8.0 and later.
      • setShader

        public void setShader​(SKShader v)
        Since:
        Available in iOS 8.0 and later.
      • init

        protected long init​(SKTexture texture)
      • init

        protected long init​(java.lang.String name)
      • scaleToSize

        public void scaleToSize​(CGSize size)
        Since:
        Available in iOS 10.0 and later.
      • valueForAttribute

        public SKAttributeValue valueForAttribute​(java.lang.String key)
        Since:
        Available in iOS 10.0 and later.
      • setValueForAttribute

        public void setValueForAttribute​(SKAttributeValue value,
                                         java.lang.String key)
        Since:
        Available in iOS 10.0 and later.
      • create

        protected static long create​(SKTexture texture,
                                     CGSize size)
      • create

        protected static long create​(java.lang.String name,
                                     boolean generateNormalMap)