Package org.robovm.apple.gameplaykit
Class GKNoise
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.objc.ObjCObject
-
- org.robovm.apple.foundation.NSObject
-
- org.robovm.apple.gameplaykit.GKNoise
-
- All Implemented Interfaces:
NSObjectProtocol
,org.robovm.objc.ObjCProtocol
public class GKNoise extends NSObject
- Since:
- Available in iOS 10.0 and later.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GKNoise.GKNoisePtr
-
Nested classes/interfaces inherited from class org.robovm.apple.foundation.NSObject
NSObject.Handle, NSObject.Marshaler, NSObject.NoRetainMarshaler, NSObject.NSKeyValueObserver, NSObject.NSObjectPtr, NSObject.SkipInit
-
-
Field Summary
-
Fields inherited from class org.robovm.apple.foundation.NSObject
FLAG_NO_RETAIN
-
-
Constructor Summary
Constructors Modifier Constructor Description GKNoise()
GKNoise(NSArray<GKNoise> noises, GKNoise selectionNoise)
GKNoise(NSArray<GKNoise> noises, GKNoise selectionNoise, NSArray<NSNumber> componentBoundaries, NSArray<NSNumber> blendDistances)
protected
GKNoise(NSObject.Handle h, long handle)
protected
GKNoise(NSObject.SkipInit skipInit)
GKNoise(GKNoiseSource noiseSource)
GKNoise(GKNoiseSource noiseSource, NSDictionary<NSNumber,UIColor> gradientColors)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(GKNoise noise)
void
applyAbsoluteValue()
void
applyTurbulence(double frequency, double power, int roughness, int seed)
void
clamp(double lowerBound, double upperBound)
protected static long
create(NSArray<GKNoise> noises, GKNoise selectionNoise)
protected static long
create(NSArray<GKNoise> noises, GKNoise selectionNoise, NSArray<NSNumber> componentBoundaries, NSArray<NSNumber> blendDistances)
void
displaceX(GKNoise xDisplacementNoise, GKNoise yDisplacementNoise, GKNoise zDisplacementNoise)
NSDictionary<NSNumber,UIColor>
getGradientColors()
protected long
init(GKNoiseSource noiseSource)
protected long
init(GKNoiseSource noiseSource, NSDictionary<NSNumber,UIColor> gradientColors)
void
invert()
void
maximum(GKNoise noise)
void
minimum(GKNoise noise)
void
moveBy(org.robovm.rt.bro.ptr.FunctionPtr delta)
void
multiply(GKNoise noise)
void
raiseToPower(double power)
void
raiseToPower(GKNoise noise)
void
remapValuesToCurve(NSDictionary<NSNumber,NSNumber> controlPoints)
void
remapValuesToTerraces(NSArray<NSNumber> peakInputValues, boolean inverted)
void
rotateBy(org.robovm.rt.bro.ptr.FunctionPtr radians)
void
scaleBy(org.robovm.rt.bro.ptr.FunctionPtr factor)
void
setGradientColors(NSDictionary<NSNumber,UIColor> v)
float
valueAtPosition(VectorFloat2 position)
-
Methods inherited from class org.robovm.apple.foundation.NSObject
addKeyValueObserver, addKeyValueObserver, afterMarshaled, alloc, autorelease, autorelease, awakeFromNib, conformsToProtocol, copy, description, didChangeValue, didChangeValue, didChangeValues, doDispose, equals, forceSkipInit, getAutoContentAccessingProxy, getClassForCoder, getClassForKeyedArchiver, getKeyValueCoder, getObservationInfo, hash, hashCode, init, isEqual, isKindOfClass, isMemberOfClass, mutableCopy, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelectorInBackground, performSelectorOnMainThread, performSelectorOnMainThread, performSelectorV, performSelectorV, performSelectorV, release, release, removeKeyValueObserver, removeKeyValueObservers, respondsToSelector, retain, retain, retainCount, setObservationInfo, toString, willChangeValue, willChangeValue, willChangeValues
-
-
-
-
Constructor Detail
-
GKNoise
public GKNoise()
-
GKNoise
protected GKNoise(NSObject.Handle h, long handle)
-
GKNoise
protected GKNoise(NSObject.SkipInit skipInit)
-
GKNoise
public GKNoise(GKNoiseSource noiseSource)
-
GKNoise
public GKNoise(GKNoiseSource noiseSource, NSDictionary<NSNumber,UIColor> gradientColors)
-
-
Method Detail
-
getGradientColors
public NSDictionary<NSNumber,UIColor> getGradientColors()
-
setGradientColors
public void setGradientColors(NSDictionary<NSNumber,UIColor> v)
-
init
protected long init(GKNoiseSource noiseSource)
-
init
protected long init(GKNoiseSource noiseSource, NSDictionary<NSNumber,UIColor> gradientColors)
-
valueAtPosition
public float valueAtPosition(VectorFloat2 position)
-
applyAbsoluteValue
public void applyAbsoluteValue()
-
clamp
public void clamp(double lowerBound, double upperBound)
-
raiseToPower
public void raiseToPower(double power)
-
invert
public void invert()
-
applyTurbulence
public void applyTurbulence(double frequency, double power, int roughness, int seed)
-
remapValuesToCurve
public void remapValuesToCurve(NSDictionary<NSNumber,NSNumber> controlPoints)
-
remapValuesToTerraces
public void remapValuesToTerraces(NSArray<NSNumber> peakInputValues, boolean inverted)
-
moveBy
public void moveBy(org.robovm.rt.bro.ptr.FunctionPtr delta)
-
scaleBy
public void scaleBy(org.robovm.rt.bro.ptr.FunctionPtr factor)
-
rotateBy
public void rotateBy(org.robovm.rt.bro.ptr.FunctionPtr radians)
-
add
public void add(GKNoise noise)
-
multiply
public void multiply(GKNoise noise)
-
minimum
public void minimum(GKNoise noise)
-
maximum
public void maximum(GKNoise noise)
-
raiseToPower
public void raiseToPower(GKNoise noise)
-
displaceX
public void displaceX(GKNoise xDisplacementNoise, GKNoise yDisplacementNoise, GKNoise zDisplacementNoise)
-
-