共用方式為


SCNPhysicsBody.SetResting(Boolean) 方法

定義

設定布林值,控制模擬是否會將本文讀取為待用內容。

[Foundation.Export("setResting:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 5, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 12, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 14, ObjCRuntime.PlatformArchitecture.Arch64, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 12, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void SetResting (bool resting);
abstract member SetResting : bool -> unit
override this.SetResting : bool -> unit

參數

resting
Boolean

新的 resting 值。

屬性

適用於