GKNoise.Add(GKNoise) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
將 所產生的值加入至 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>) 視需要使用 ,以確保值會留在此範圍內。