C# 클래스 Box2DX.Dynamics.GearJointDef

Gear joint definition. This definition requires two existing revolute or prismatic joints (any combination will work). The provided joints must attach a dynamic body to a static body.
상속: JointDef
파일 보기 프로젝트 열기: danielpcox/Crisis-at-Swiss-Station 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Joint1 Joint
Joint2 Joint
Ratio float

공개 메소드들

메소드 설명
GearJointDef ( ) : System

메소드 상세

GearJointDef() 공개 메소드

public GearJointDef ( ) : System
리턴 System

프로퍼티 상세

Joint1 공개적으로 프로퍼티

The first revolute/prismatic joint attached to the gear joint.
public Joint,Box2DX.Dynamics Joint1
리턴 Joint

Joint2 공개적으로 프로퍼티

The second revolute/prismatic joint attached to the gear joint.
public Joint,Box2DX.Dynamics Joint2
리턴 Joint

Ratio 공개적으로 프로퍼티

The gear ratio. @see GearJoint for explanation.
public float Ratio
리턴 float