Class SKAttributeValue

All Implemented Interfaces:
NSCoding, NSObjectProtocol, NSSecureCoding, ObjCProtocol

public class SKAttributeValue
extends NSObject
implements NSSecureCoding
Since:
Available in iOS 9.0 and later.
  • Constructor Details

    • SKAttributeValue

      public SKAttributeValue()
    • SKAttributeValue

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

      protected SKAttributeValue​(NSObject.SkipInit skipInit)
    • SKAttributeValue

      public SKAttributeValue​(float value)
    • SKAttributeValue

      public SKAttributeValue​(VectorFloat2 value)
    • SKAttributeValue

      public SKAttributeValue​(VectorFloat3 value)
    • SKAttributeValue

      public SKAttributeValue​(VectorFloat4 value)
    • SKAttributeValue

      public SKAttributeValue​(NSCoder coder)
  • Method Details

    • getFloatValue

      public float getFloatValue()
    • setFloatValue

      public void setFloatValue​(float v)
    • getVectorFloat2Value

      public VectorFloat2 getVectorFloat2Value()
    • setVectorFloat2Value

      public void setVectorFloat2Value​(VectorFloat2 v)
    • getVectorFloat3Value

      public VectorFloat3 getVectorFloat3Value()
    • setVectorFloat3Value

      public void setVectorFloat3Value​(VectorFloat3 v)
    • getVectorFloat4Value

      public VectorFloat4 getVectorFloat4Value()
    • setVectorFloat4Value

      public void setVectorFloat4Value​(VectorFloat4 v)
    • supportsSecureCoding

      public static boolean supportsSecureCoding()
    • create

      protected static long create​(float value)
    • create

      protected static long create​(VectorFloat2 value)
    • create

      protected static long create​(VectorFloat3 value)
    • create

      protected static long create​(VectorFloat4 value)
    • encode

      public void encode​(NSCoder coder)
      Specified by:
      encode in interface NSCoding
    • init

      protected long init​(NSCoder coder)