SCNPhysicsBody.CreateBody(SCNPhysicsBodyType, SCNPhysicsShape) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- type
- SCNPhysicsBodyType
Returns
- Attributes