Class GKNoiseMap

All Implemented Interfaces:
NSObjectProtocol, ObjCProtocol

public class GKNoiseMap
extends NSObject
Since:
Available in iOS 10.0 and later.
  • Constructor Details

  • Method Details

    • getSize

      public VectorDouble2 getSize()
    • getOrigin

      public VectorDouble2 getOrigin()
    • getSampleCount

      public VectorInt2 getSampleCount()
    • isSeamless

      public boolean isSeamless()
    • init

      protected long init​(GKNoise noise)
    • init

      protected long init​(GKNoise noise, VectorDouble2 size, VectorDouble2 origin, VectorInt2 sampleCount, boolean seamless)
    • valueAtPosition

      public float valueAtPosition​(VectorInt2 position)
    • interpolatedValueAtPosition

      public float interpolatedValueAtPosition​(VectorFloat2 position)
    • setValueAtPosition

      public void setValueAtPosition​(float value, VectorInt2 position)