265 lines
7.2 KiB
C#
265 lines
7.2 KiB
C#
using System;
|
|
using System.Runtime.CompilerServices;
|
|
using UnityEngine.Scripting;
|
|
|
|
namespace UnityEngine
|
|
{
|
|
// Token: 0x020001AC RID: 428
|
|
public sealed class WheelCollider : Collider
|
|
{
|
|
// Token: 0x1700071F RID: 1823
|
|
// (get) Token: 0x06001F55 RID: 8021 RVA: 0x00025C54 File Offset: 0x00023E54
|
|
// (set) Token: 0x06001F56 RID: 8022 RVA: 0x00025C74 File Offset: 0x00023E74
|
|
public Vector3 center
|
|
{
|
|
get
|
|
{
|
|
Vector3 vector;
|
|
this.INTERNAL_get_center(out vector);
|
|
return vector;
|
|
}
|
|
set
|
|
{
|
|
this.INTERNAL_set_center(ref value);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06001F57 RID: 8023
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
private extern void INTERNAL_get_center(out Vector3 value);
|
|
|
|
// Token: 0x06001F58 RID: 8024
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
private extern void INTERNAL_set_center(ref Vector3 value);
|
|
|
|
// Token: 0x17000720 RID: 1824
|
|
// (get) Token: 0x06001F59 RID: 8025
|
|
// (set) Token: 0x06001F5A RID: 8026
|
|
public extern float radius
|
|
{
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
get;
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
set;
|
|
}
|
|
|
|
// Token: 0x17000721 RID: 1825
|
|
// (get) Token: 0x06001F5B RID: 8027
|
|
// (set) Token: 0x06001F5C RID: 8028
|
|
public extern float suspensionDistance
|
|
{
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
get;
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
set;
|
|
}
|
|
|
|
// Token: 0x17000722 RID: 1826
|
|
// (get) Token: 0x06001F5D RID: 8029 RVA: 0x00025C80 File Offset: 0x00023E80
|
|
// (set) Token: 0x06001F5E RID: 8030 RVA: 0x00025CA0 File Offset: 0x00023EA0
|
|
public JointSpring suspensionSpring
|
|
{
|
|
get
|
|
{
|
|
JointSpring jointSpring;
|
|
this.INTERNAL_get_suspensionSpring(out jointSpring);
|
|
return jointSpring;
|
|
}
|
|
set
|
|
{
|
|
this.INTERNAL_set_suspensionSpring(ref value);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06001F5F RID: 8031
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
private extern void INTERNAL_get_suspensionSpring(out JointSpring value);
|
|
|
|
// Token: 0x06001F60 RID: 8032
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
private extern void INTERNAL_set_suspensionSpring(ref JointSpring value);
|
|
|
|
// Token: 0x17000723 RID: 1827
|
|
// (get) Token: 0x06001F61 RID: 8033
|
|
// (set) Token: 0x06001F62 RID: 8034
|
|
public extern float forceAppPointDistance
|
|
{
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
get;
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
set;
|
|
}
|
|
|
|
// Token: 0x17000724 RID: 1828
|
|
// (get) Token: 0x06001F63 RID: 8035
|
|
// (set) Token: 0x06001F64 RID: 8036
|
|
public extern float mass
|
|
{
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
get;
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
set;
|
|
}
|
|
|
|
// Token: 0x17000725 RID: 1829
|
|
// (get) Token: 0x06001F65 RID: 8037
|
|
// (set) Token: 0x06001F66 RID: 8038
|
|
public extern float wheelDampingRate
|
|
{
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
get;
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
set;
|
|
}
|
|
|
|
// Token: 0x17000726 RID: 1830
|
|
// (get) Token: 0x06001F67 RID: 8039 RVA: 0x00025CAC File Offset: 0x00023EAC
|
|
// (set) Token: 0x06001F68 RID: 8040 RVA: 0x00025CCC File Offset: 0x00023ECC
|
|
public WheelFrictionCurve forwardFriction
|
|
{
|
|
get
|
|
{
|
|
WheelFrictionCurve wheelFrictionCurve;
|
|
this.INTERNAL_get_forwardFriction(out wheelFrictionCurve);
|
|
return wheelFrictionCurve;
|
|
}
|
|
set
|
|
{
|
|
this.INTERNAL_set_forwardFriction(ref value);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06001F69 RID: 8041
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
private extern void INTERNAL_get_forwardFriction(out WheelFrictionCurve value);
|
|
|
|
// Token: 0x06001F6A RID: 8042
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
private extern void INTERNAL_set_forwardFriction(ref WheelFrictionCurve value);
|
|
|
|
// Token: 0x17000727 RID: 1831
|
|
// (get) Token: 0x06001F6B RID: 8043 RVA: 0x00025CD8 File Offset: 0x00023ED8
|
|
// (set) Token: 0x06001F6C RID: 8044 RVA: 0x00025CF8 File Offset: 0x00023EF8
|
|
public WheelFrictionCurve sidewaysFriction
|
|
{
|
|
get
|
|
{
|
|
WheelFrictionCurve wheelFrictionCurve;
|
|
this.INTERNAL_get_sidewaysFriction(out wheelFrictionCurve);
|
|
return wheelFrictionCurve;
|
|
}
|
|
set
|
|
{
|
|
this.INTERNAL_set_sidewaysFriction(ref value);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06001F6D RID: 8045
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
private extern void INTERNAL_get_sidewaysFriction(out WheelFrictionCurve value);
|
|
|
|
// Token: 0x06001F6E RID: 8046
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
private extern void INTERNAL_set_sidewaysFriction(ref WheelFrictionCurve value);
|
|
|
|
// Token: 0x17000728 RID: 1832
|
|
// (get) Token: 0x06001F6F RID: 8047
|
|
// (set) Token: 0x06001F70 RID: 8048
|
|
public extern float motorTorque
|
|
{
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
get;
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
set;
|
|
}
|
|
|
|
// Token: 0x17000729 RID: 1833
|
|
// (get) Token: 0x06001F71 RID: 8049
|
|
// (set) Token: 0x06001F72 RID: 8050
|
|
public extern float brakeTorque
|
|
{
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
get;
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
set;
|
|
}
|
|
|
|
// Token: 0x1700072A RID: 1834
|
|
// (get) Token: 0x06001F73 RID: 8051
|
|
// (set) Token: 0x06001F74 RID: 8052
|
|
public extern float steerAngle
|
|
{
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
get;
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
set;
|
|
}
|
|
|
|
// Token: 0x1700072B RID: 1835
|
|
// (get) Token: 0x06001F75 RID: 8053
|
|
public extern bool isGrounded
|
|
{
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
get;
|
|
}
|
|
|
|
// Token: 0x06001F76 RID: 8054
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
public extern void ConfigureVehicleSubsteps(float speedThreshold, int stepsBelowThreshold, int stepsAboveThreshold);
|
|
|
|
// Token: 0x1700072C RID: 1836
|
|
// (get) Token: 0x06001F77 RID: 8055
|
|
public extern float sprungMass
|
|
{
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
get;
|
|
}
|
|
|
|
// Token: 0x06001F78 RID: 8056
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
public extern bool GetGroundHit(out WheelHit hit);
|
|
|
|
// Token: 0x06001F79 RID: 8057
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
public extern void GetWorldPose(out Vector3 pos, out Quaternion quat);
|
|
|
|
// Token: 0x1700072D RID: 1837
|
|
// (get) Token: 0x06001F7A RID: 8058
|
|
public extern float rpm
|
|
{
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
get;
|
|
}
|
|
}
|
|
}
|