Files
Dec2017-Script-Dump/UnityEngine/HingeJoint.cs
T
2026-06-04 11:42:34 +02:00

149 lines
3.8 KiB
C#

using System;
using System.Runtime.CompilerServices;
using UnityEngine.Scripting;
namespace UnityEngine
{
// Token: 0x02000167 RID: 359
public sealed class HingeJoint : Joint
{
// Token: 0x170005BC RID: 1468
// (get) Token: 0x06001A92 RID: 6802 RVA: 0x00021184 File Offset: 0x0001F384
// (set) Token: 0x06001A93 RID: 6803 RVA: 0x000211A4 File Offset: 0x0001F3A4
public JointMotor motor
{
get
{
JointMotor jointMotor;
this.INTERNAL_get_motor(out jointMotor);
return jointMotor;
}
set
{
this.INTERNAL_set_motor(ref value);
}
}
// Token: 0x06001A94 RID: 6804
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
private extern void INTERNAL_get_motor(out JointMotor value);
// Token: 0x06001A95 RID: 6805
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
private extern void INTERNAL_set_motor(ref JointMotor value);
// Token: 0x170005BD RID: 1469
// (get) Token: 0x06001A96 RID: 6806 RVA: 0x000211B0 File Offset: 0x0001F3B0
// (set) Token: 0x06001A97 RID: 6807 RVA: 0x000211D0 File Offset: 0x0001F3D0
public JointLimits limits
{
get
{
JointLimits jointLimits;
this.INTERNAL_get_limits(out jointLimits);
return jointLimits;
}
set
{
this.INTERNAL_set_limits(ref value);
}
}
// Token: 0x06001A98 RID: 6808
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
private extern void INTERNAL_get_limits(out JointLimits value);
// Token: 0x06001A99 RID: 6809
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
private extern void INTERNAL_set_limits(ref JointLimits value);
// Token: 0x170005BE RID: 1470
// (get) Token: 0x06001A9A RID: 6810 RVA: 0x000211DC File Offset: 0x0001F3DC
// (set) Token: 0x06001A9B RID: 6811 RVA: 0x000211FC File Offset: 0x0001F3FC
public JointSpring spring
{
get
{
JointSpring jointSpring;
this.INTERNAL_get_spring(out jointSpring);
return jointSpring;
}
set
{
this.INTERNAL_set_spring(ref value);
}
}
// Token: 0x06001A9C RID: 6812
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
private extern void INTERNAL_get_spring(out JointSpring value);
// Token: 0x06001A9D RID: 6813
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
private extern void INTERNAL_set_spring(ref JointSpring value);
// Token: 0x170005BF RID: 1471
// (get) Token: 0x06001A9E RID: 6814
// (set) Token: 0x06001A9F RID: 6815
public extern bool useMotor
{
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
get;
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
set;
}
// Token: 0x170005C0 RID: 1472
// (get) Token: 0x06001AA0 RID: 6816
// (set) Token: 0x06001AA1 RID: 6817
public extern bool useLimits
{
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
get;
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
set;
}
// Token: 0x170005C1 RID: 1473
// (get) Token: 0x06001AA2 RID: 6818
// (set) Token: 0x06001AA3 RID: 6819
public extern bool useSpring
{
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
get;
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
set;
}
// Token: 0x170005C2 RID: 1474
// (get) Token: 0x06001AA4 RID: 6820
public extern float velocity
{
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
get;
}
// Token: 0x170005C3 RID: 1475
// (get) Token: 0x06001AA5 RID: 6821
public extern float angle
{
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
get;
}
}
}