Condividi tramite


SCNPhysicsBody.UsesDefaultMomentOfInertia Proprietà

Definizione

Ottiene o imposta un valore booleano che controlla se il corpo fisico usa il momento calcolato da SceneKit di inertia.

[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

Valore della proprietà

Attributi

Si applica a