GKNoise.Add(GKNoise) 方法

定义

将 生成的值添加到 this

[Foundation.Export("addWithNoise:")]
public virtual void Add (GameplayKit.GKNoise noise);
abstract member Add : GameplayKit.GKNoise -> unit
override this.Add : GameplayKit.GKNoise -> unit

参数

noise
GKNoise
属性

注解

添加干扰值可能会导致值超出 [-1.0, 1.0] 的有效范围。 开发人员应根据需要使用 RemapValuesToCurve(NSDictionary<NSNumber,NSNumber>) 以确保值在此范围内。

适用于