Share via


SCNPhysicsBody.CreateBody(SCNPhysicsBodyType, SCNPhysicsShape) Method

Definition

[Foundation.Export("bodyWithType:shape:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static SceneKit.SCNPhysicsBody CreateBody(SceneKit.SCNPhysicsBodyType type, SceneKit.SCNPhysicsShape? shape);
[<Foundation.Export("bodyWithType:shape:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member CreateBody : SceneKit.SCNPhysicsBodyType * SceneKit.SCNPhysicsShape -> SceneKit.SCNPhysicsBody

Parameters

Returns

Attributes

Applies to