Box2DX.Dynamics.PrismaticJoint.PrismaticJoint C# (CSharp) Метод

PrismaticJoint() публичный Метод

public PrismaticJoint ( PrismaticJointDef def ) : System
def PrismaticJointDef
Результат System
        public PrismaticJoint(PrismaticJointDef def)
            : base(def)
        {
            _localAnchor1 = def.LocalAnchor1;
            _localAnchor2 = def.LocalAnchor2;
            _localXAxis1 = def.LocalAxis1;
            _localYAxis1 = Vec2.Cross(1.0f, _localXAxis1);
            _refAngle = def.ReferenceAngle;

            _impulse.SetZero();
            _motorMass = 0.0f;
            _motorImpulse = 0.0f;

            _lowerTranslation = def.LowerTranslation;
            _upperTranslation = def.UpperTranslation;
            _maxMotorForce = Settings.FORCE_INV_SCALE(def.MaxMotorForce);
            _motorSpeed = def.MotorSpeed;
            _enableLimit = def.EnableLimit;
            _enableMotor = def.EnableMotor;
            _limitState = LimitState.InactiveLimit;

            _axis.SetZero();
            _perp.SetZero();
        }