共用方式為


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>) 視需要使用 ,以確保值會留在此範圍內。

適用於