SCNPhysicsBody.CreateBody(SCNPhysicsBodyType, SCNPhysicsShape) SCNPhysicsBody.CreateBody(SCNPhysicsBodyType, SCNPhysicsShape) Method

Definition

Creates a new physics body with the specified type and shape.

[Foundation.Export("bodyWithType:shape:")]
public static SceneKit.SCNPhysicsBody CreateBody (SceneKit.SCNPhysicsBodyType type, SceneKit.SCNPhysicsShape shape);
static member CreateBody : SceneKit.SCNPhysicsBodyType * SceneKit.SCNPhysicsShape -> SceneKit.SCNPhysicsBody

Parameters

shape
SCNPhysicsShape SCNPhysicsShape

To be added.

This parameter can be null.

Returns

Applies to