共用方式為


SCNPhysicsSliderJoint.Create 方法

定義

多載

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

Create(SCNPhysicsBody, SCNVector3, SCNVector3)

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

參數

axis
SCNVector3
anchor
SCNVector3

傳回

屬性

適用於

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

[Foundation.Export("jointWithBodyA:axisA:anchorA:bodyB:axisB:anchorB:")]
public static SceneKit.SCNPhysicsSliderJoint 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.SCNPhysicsSliderJoint

參數

axisA
SCNVector3
anchorA
SCNVector3
axisB
SCNVector3
anchorB
SCNVector3

傳回

屬性

適用於