Freigeben über


SCNPhysicsBody.UsesDefaultMomentOfInertia Eigenschaft

Definition

Ruft einen booleschen Wert ab, der steuert, ob der Physiktext das sceneKit-berechnete Trägheitsmoment verwendet, oder legt diesen fest.

[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

Eigenschaftswert

Attribute

Gilt für: