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

属性值

属性

适用于