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

To be added.

This parameter can be null.

Returns

Attributes

Applies to