C# 클래스 Box2D.Dynamics.Joints.WeldJointDef

상속: JointDef
파일 보기 프로젝트 열기: gerich-home/box2dnet 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
DampingRatio float
FrequencyHz float
LocalAnchorA Box2D.Common.Vec2
LocalAnchorB Box2D.Common.Vec2
ReferenceAngle float

공개 메소드들

메소드 설명
Initialize ( Body bA, Body bB, Vec2 anchor ) : void

Initialize the bodies, anchors, and reference angle using a world anchor point.

WeldJointDef ( ) : Box2D.Common

메소드 상세

Initialize() 공개 메소드

Initialize the bodies, anchors, and reference angle using a world anchor point.
public Initialize ( Body bA, Body bB, Vec2 anchor ) : void
bA Body
bB Body
anchor Box2D.Common.Vec2
리턴 void

WeldJointDef() 공개 메소드

public WeldJointDef ( ) : Box2D.Common
리턴 Box2D.Common

프로퍼티 상세

DampingRatio 공개적으로 프로퍼티

The damping ratio. 0 = no damping, 1 = critical damping.
public float DampingRatio
리턴 float

FrequencyHz 공개적으로 프로퍼티

The mass-spring-damper frequency in Hertz. Rotation only. Disable softness with a value of 0.
public float FrequencyHz
리턴 float

LocalAnchorA 공개적으로 프로퍼티

The local anchor point relative to body1's origin.
public Vec2,Box2D.Common LocalAnchorA
리턴 Box2D.Common.Vec2

LocalAnchorB 공개적으로 프로퍼티

The local anchor point relative to body2's origin.
public Vec2,Box2D.Common LocalAnchorB
리턴 Box2D.Common.Vec2

ReferenceAngle 공개적으로 프로퍼티

The body2 angle minus body1 angle in the reference state (radians).
public float ReferenceAngle
리턴 float