ドキュメント

Unity Engine

Unity Engine

implicit operator PhysicsJoint

Cast to the base PhysicsJoint.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

implicit operator PhysicsJoint(PhysicsJoin)

Cast to the base PhysicsJoint.
public static implicit operator PhysicsJoint(PhysicsHingeJoint joint)

Parameters

The current joint.

Returns

Type

Description

PhysicsJoint

implicit operator PhysicsHingeJoint(PhysicsHingeJoin)

Cast to a PhysicsHingeJoint from the base PhysicsJoint. The provided joint must be a joint type of PhysicsJoint.JointType.HingeJoint.
public static implicit operator PhysicsHingeJoint(PhysicsJoint joint)

Parameters

Returns

Type

Description

PhysicsHingeJoint