次の方法で共有


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

プロパティ値

属性

適用対象