編輯

共用方式為


SCNPhysicsHingeJoint.Create Method

Definition

Overloads

Create(SCNPhysicsBody, SCNVector3, SCNVector3)
Create(SCNPhysicsBody, SCNVector3, SCNVector3, SCNPhysicsBody, SCNVector3, SCNVector3)

Create(SCNPhysicsBody, SCNVector3, SCNVector3)

[Foundation.Export("jointWithBody:axis:anchor:")]
public static SceneKit.SCNPhysicsHingeJoint Create (SceneKit.SCNPhysicsBody body, SceneKit.SCNVector3 axis, SceneKit.SCNVector3 anchor);
static member Create : SceneKit.SCNPhysicsBody * SceneKit.SCNVector3 * SceneKit.SCNVector3 -> SceneKit.SCNPhysicsHingeJoint

Parameters

axis
SCNVector3
anchor
SCNVector3

Returns

Attributes

Applies to

Create(SCNPhysicsBody, SCNVector3, SCNVector3, SCNPhysicsBody, SCNVector3, SCNVector3)

[Foundation.Export("jointWithBodyA:axisA:anchorA:bodyB:axisB:anchorB:")]
public static SceneKit.SCNPhysicsHingeJoint Create (SceneKit.SCNPhysicsBody bodyA, SceneKit.SCNVector3 axisA, SceneKit.SCNVector3 anchorA, SceneKit.SCNPhysicsBody bodyB, SceneKit.SCNVector3 axisB, SceneKit.SCNVector3 anchorB);
static member Create : SceneKit.SCNPhysicsBody * SceneKit.SCNVector3 * SceneKit.SCNVector3 * SceneKit.SCNPhysicsBody * SceneKit.SCNVector3 * SceneKit.SCNVector3 -> SceneKit.SCNPhysicsHingeJoint

Parameters

axisA
SCNVector3
anchorA
SCNVector3
bodyB
SCNPhysicsBody

To be added.

This parameter can be null.

axisB
SCNVector3
anchorB
SCNVector3

Returns

Attributes

Applies to