using System; using System.Runtime.CompilerServices; using UnityEngine.Scripting; namespace UnityEngine { // Token: 0x0200019C RID: 412 public sealed class SliderJoint2D : AnchoredJoint2D { // Token: 0x170006D0 RID: 1744 // (get) Token: 0x06001EA0 RID: 7840 // (set) Token: 0x06001EA1 RID: 7841 public extern bool autoConfigureAngle { [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] get; [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] set; } // Token: 0x170006D1 RID: 1745 // (get) Token: 0x06001EA2 RID: 7842 // (set) Token: 0x06001EA3 RID: 7843 public extern float angle { [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] get; [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] set; } // Token: 0x170006D2 RID: 1746 // (get) Token: 0x06001EA4 RID: 7844 // (set) Token: 0x06001EA5 RID: 7845 public extern bool useMotor { [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] get; [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] set; } // Token: 0x170006D3 RID: 1747 // (get) Token: 0x06001EA6 RID: 7846 // (set) Token: 0x06001EA7 RID: 7847 public extern bool useLimits { [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] get; [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] set; } // Token: 0x170006D4 RID: 1748 // (get) Token: 0x06001EA8 RID: 7848 RVA: 0x000258F8 File Offset: 0x00023AF8 // (set) Token: 0x06001EA9 RID: 7849 RVA: 0x00025918 File Offset: 0x00023B18 public JointMotor2D motor { get { JointMotor2D jointMotor2D; this.INTERNAL_get_motor(out jointMotor2D); return jointMotor2D; } set { this.INTERNAL_set_motor(ref value); } } // Token: 0x06001EAA RID: 7850 [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] private extern void INTERNAL_get_motor(out JointMotor2D value); // Token: 0x06001EAB RID: 7851 [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] private extern void INTERNAL_set_motor(ref JointMotor2D value); // Token: 0x170006D5 RID: 1749 // (get) Token: 0x06001EAC RID: 7852 RVA: 0x00025924 File Offset: 0x00023B24 // (set) Token: 0x06001EAD RID: 7853 RVA: 0x00025944 File Offset: 0x00023B44 public JointTranslationLimits2D limits { get { JointTranslationLimits2D jointTranslationLimits2D; this.INTERNAL_get_limits(out jointTranslationLimits2D); return jointTranslationLimits2D; } set { this.INTERNAL_set_limits(ref value); } } // Token: 0x06001EAE RID: 7854 [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] private extern void INTERNAL_get_limits(out JointTranslationLimits2D value); // Token: 0x06001EAF RID: 7855 [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] private extern void INTERNAL_set_limits(ref JointTranslationLimits2D value); // Token: 0x170006D6 RID: 1750 // (get) Token: 0x06001EB0 RID: 7856 public extern JointLimitState2D limitState { [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] get; } // Token: 0x170006D7 RID: 1751 // (get) Token: 0x06001EB1 RID: 7857 public extern float referenceAngle { [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] get; } // Token: 0x170006D8 RID: 1752 // (get) Token: 0x06001EB2 RID: 7858 public extern float jointTranslation { [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] get; } // Token: 0x170006D9 RID: 1753 // (get) Token: 0x06001EB3 RID: 7859 public extern float jointSpeed { [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] get; } // Token: 0x06001EB4 RID: 7860 RVA: 0x00025950 File Offset: 0x00023B50 public float GetMotorForce(float timeStep) { return SliderJoint2D.INTERNAL_CALL_GetMotorForce(this, timeStep); } // Token: 0x06001EB5 RID: 7861 [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] private static extern float INTERNAL_CALL_GetMotorForce(SliderJoint2D self, float timeStep); } }