共用方式為


SCNPhysicsBody.UsesDefaultMomentOfInertia 屬性

定義

取得或設定布林值,控制物理主體是否使用 SceneKit 計算慣性時間。

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual bool UsesDefaultMomentOfInertia { [Foundation.Export("usesDefaultMomentOfInertia")] [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)] [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.All, null)] get; [Foundation.Export("setUsesDefaultMomentOfInertia:")] [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)] [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.All, null)] set; }
member this.UsesDefaultMomentOfInertia : bool with get, set

屬性值

屬性

適用於