C# 클래스 Box2DX.Dynamics.LineJoint

상속: Joint
파일 보기 프로젝트 열기: danielpcox/Crisis-at-Swiss-Station 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
_K Box2DX.Common.Mat22
_a1 float
_axis Box2DX.Common.Vec2
_enableLimit bool
_enableMotor bool
_impulse Box2DX.Common.Vec2
_limitState LimitState
_localAnchor1 Box2DX.Common.Vec2
_localAnchor2 Box2DX.Common.Vec2
_localXAxis1 Box2DX.Common.Vec2
_localYAxis1 Box2DX.Common.Vec2
_lowerTranslation float
_maxMotorForce float
_motorImpulse float
_motorMass float
_motorSpeed float
_s1 float
_upperTranslation float

공개 메소드들

메소드 설명
EnableLimit ( bool flag ) : void

Enable/disable the joint limit.

EnableMotor ( bool flag ) : void

Enable/disable the joint motor.

GetJointSpeed ( ) : float

Get the current joint translation speed, usually in meters per second.

GetJointTranslation ( ) : float

Get the current joint translation, usually in meters.

GetLowerLimit ( ) : float

Get the lower joint limit, usually in meters.

GetMotorForce ( ) : float

Get the current motor force, usually in N.

GetMotorSpeed ( ) : float

Get the motor speed, usually in meters per second.

GetReactionForce ( float inv_dt ) : Vec2
GetReactionTorque ( float inv_dt ) : float
GetUpperLimit ( ) : float

Get the upper joint limit, usually in meters.

IsLimitEnabled ( ) : bool

Is the joint limit enabled?

IsMotorEnabled ( ) : bool

Is the joint motor enabled?

LineJoint ( LineJointDef def ) : System
SetLimits ( float lower, float upper ) : void

Set the joint limits, usually in meters.

SetMaxMotorForce ( float force ) : void

Set the maximum motor force, usually in N.

SetMotorSpeed ( float speed ) : void

Set the motor speed, usually in meters per second.

비공개 메소드들

메소드 설명
InitVelocityConstraints ( TimeStep step ) : void
SolvePositionConstraints ( float baumgarte ) : bool
SolveVelocityConstraints ( TimeStep step ) : void

메소드 상세

EnableLimit() 공개 메소드

Enable/disable the joint limit.
public EnableLimit ( bool flag ) : void
flag bool
리턴 void

EnableMotor() 공개 메소드

Enable/disable the joint motor.
public EnableMotor ( bool flag ) : void
flag bool
리턴 void

GetJointSpeed() 공개 메소드

Get the current joint translation speed, usually in meters per second.
public GetJointSpeed ( ) : float
리턴 float

GetJointTranslation() 공개 메소드

Get the current joint translation, usually in meters.
public GetJointTranslation ( ) : float
리턴 float

GetLowerLimit() 공개 메소드

Get the lower joint limit, usually in meters.
public GetLowerLimit ( ) : float
리턴 float

GetMotorForce() 공개 메소드

Get the current motor force, usually in N.
public GetMotorForce ( ) : float
리턴 float

GetMotorSpeed() 공개 메소드

Get the motor speed, usually in meters per second.
public GetMotorSpeed ( ) : float
리턴 float

GetReactionForce() 공개 메소드

public GetReactionForce ( float inv_dt ) : Vec2
inv_dt float
리턴 Box2DX.Common.Vec2

GetReactionTorque() 공개 메소드

public GetReactionTorque ( float inv_dt ) : float
inv_dt float
리턴 float

GetUpperLimit() 공개 메소드

Get the upper joint limit, usually in meters.
public GetUpperLimit ( ) : float
리턴 float

IsLimitEnabled() 공개 메소드

Is the joint limit enabled?
public IsLimitEnabled ( ) : bool
리턴 bool

IsMotorEnabled() 공개 메소드

Is the joint motor enabled?
public IsMotorEnabled ( ) : bool
리턴 bool

LineJoint() 공개 메소드

public LineJoint ( LineJointDef def ) : System
def LineJointDef
리턴 System

SetLimits() 공개 메소드

Set the joint limits, usually in meters.
public SetLimits ( float lower, float upper ) : void
lower float
upper float
리턴 void

SetMaxMotorForce() 공개 메소드

Set the maximum motor force, usually in N.
public SetMaxMotorForce ( float force ) : void
force float
리턴 void

SetMotorSpeed() 공개 메소드

Set the motor speed, usually in meters per second.
public SetMotorSpeed ( float speed ) : void
speed float
리턴 void

프로퍼티 상세

_K 공개적으로 프로퍼티

public Mat22,Box2DX.Common _K
리턴 Box2DX.Common.Mat22

_a1 공개적으로 프로퍼티

public float _a1
리턴 float

_axis 공개적으로 프로퍼티

public Vec2,Box2DX.Common _axis
리턴 Box2DX.Common.Vec2

_enableLimit 공개적으로 프로퍼티

public bool _enableLimit
리턴 bool

_enableMotor 공개적으로 프로퍼티

public bool _enableMotor
리턴 bool

_impulse 공개적으로 프로퍼티

public Vec2,Box2DX.Common _impulse
리턴 Box2DX.Common.Vec2

_limitState 공개적으로 프로퍼티

public LimitState _limitState
리턴 LimitState

_localAnchor1 공개적으로 프로퍼티

public Vec2,Box2DX.Common _localAnchor1
리턴 Box2DX.Common.Vec2

_localAnchor2 공개적으로 프로퍼티

public Vec2,Box2DX.Common _localAnchor2
리턴 Box2DX.Common.Vec2

_localXAxis1 공개적으로 프로퍼티

public Vec2,Box2DX.Common _localXAxis1
리턴 Box2DX.Common.Vec2

_localYAxis1 공개적으로 프로퍼티

public Vec2,Box2DX.Common _localYAxis1
리턴 Box2DX.Common.Vec2

_lowerTranslation 공개적으로 프로퍼티

public float _lowerTranslation
리턴 float

_maxMotorForce 공개적으로 프로퍼티

public float _maxMotorForce
리턴 float

_motorImpulse 공개적으로 프로퍼티

public float _motorImpulse
리턴 float

_motorMass 공개적으로 프로퍼티

public float _motorMass
리턴 float

_motorSpeed 공개적으로 프로퍼티

public float _motorSpeed
리턴 float

_s1 공개적으로 프로퍼티

public float _s1
리턴 float

_upperTranslation 공개적으로 프로퍼티

public float _upperTranslation
리턴 float