Files
2026-06-04 11:42:34 +02:00

125 lines
3.3 KiB
C#

using System;
using System.Runtime.CompilerServices;
using UnityEngine.Scripting;
namespace UnityEngine
{
// Token: 0x0200019F RID: 415
public sealed class WheelJoint2D : AnchoredJoint2D
{
// Token: 0x170006E3 RID: 1763
// (get) Token: 0x06001ECE RID: 7886 RVA: 0x000259DC File Offset: 0x00023BDC
// (set) Token: 0x06001ECF RID: 7887 RVA: 0x000259FC File Offset: 0x00023BFC
public JointSuspension2D suspension
{
get
{
JointSuspension2D jointSuspension2D;
this.INTERNAL_get_suspension(out jointSuspension2D);
return jointSuspension2D;
}
set
{
this.INTERNAL_set_suspension(ref value);
}
}
// Token: 0x06001ED0 RID: 7888
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
private extern void INTERNAL_get_suspension(out JointSuspension2D value);
// Token: 0x06001ED1 RID: 7889
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
private extern void INTERNAL_set_suspension(ref JointSuspension2D value);
// Token: 0x170006E4 RID: 1764
// (get) Token: 0x06001ED2 RID: 7890
// (set) Token: 0x06001ED3 RID: 7891
public extern bool useMotor
{
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
get;
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
set;
}
// Token: 0x170006E5 RID: 1765
// (get) Token: 0x06001ED4 RID: 7892 RVA: 0x00025A08 File Offset: 0x00023C08
// (set) Token: 0x06001ED5 RID: 7893 RVA: 0x00025A28 File Offset: 0x00023C28
public JointMotor2D motor
{
get
{
JointMotor2D jointMotor2D;
this.INTERNAL_get_motor(out jointMotor2D);
return jointMotor2D;
}
set
{
this.INTERNAL_set_motor(ref value);
}
}
// Token: 0x06001ED6 RID: 7894
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
private extern void INTERNAL_get_motor(out JointMotor2D value);
// Token: 0x06001ED7 RID: 7895
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
private extern void INTERNAL_set_motor(ref JointMotor2D value);
// Token: 0x170006E6 RID: 1766
// (get) Token: 0x06001ED8 RID: 7896
public extern float jointTranslation
{
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
get;
}
// Token: 0x170006E7 RID: 1767
// (get) Token: 0x06001ED9 RID: 7897
public extern float jointLinearSpeed
{
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
get;
}
// Token: 0x170006E8 RID: 1768
// (get) Token: 0x06001EDA RID: 7898
public extern float jointSpeed
{
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
get;
}
// Token: 0x170006E9 RID: 1769
// (get) Token: 0x06001EDB RID: 7899
public extern float jointAngle
{
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
get;
}
// Token: 0x06001EDC RID: 7900 RVA: 0x00025A34 File Offset: 0x00023C34
public float GetMotorTorque(float timeStep)
{
return WheelJoint2D.INTERNAL_CALL_GetMotorTorque(this, timeStep);
}
// Token: 0x06001EDD RID: 7901
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
private static extern float INTERNAL_CALL_GetMotorTorque(WheelJoint2D self, float timeStep);
}
}