48 lines
952 B
C#
48 lines
952 B
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
using UnityEngine;
|
|
|
|
namespace UnityEngineInternal.Input
|
|
{
|
|
// Token: 0x02000397 RID: 919
|
|
[StructLayout(LayoutKind.Explicit, Size = 80)]
|
|
public struct NativePointerEvent
|
|
{
|
|
// Token: 0x04000C4B RID: 3147
|
|
[FieldOffset(0)]
|
|
public NativeInputEvent baseEvent;
|
|
|
|
// Token: 0x04000C4C RID: 3148
|
|
[FieldOffset(20)]
|
|
public int pointerId;
|
|
|
|
// Token: 0x04000C4D RID: 3149
|
|
[FieldOffset(24)]
|
|
public Vector3 position;
|
|
|
|
// Token: 0x04000C4E RID: 3150
|
|
[FieldOffset(36)]
|
|
public Vector3 delta;
|
|
|
|
// Token: 0x04000C4F RID: 3151
|
|
[FieldOffset(48)]
|
|
public float pressure;
|
|
|
|
// Token: 0x04000C50 RID: 3152
|
|
[FieldOffset(52)]
|
|
public float twist;
|
|
|
|
// Token: 0x04000C51 RID: 3153
|
|
[FieldOffset(56)]
|
|
public Vector2 tilt;
|
|
|
|
// Token: 0x04000C52 RID: 3154
|
|
[FieldOffset(64)]
|
|
public Vector3 radius;
|
|
|
|
// Token: 0x04000C53 RID: 3155
|
|
[FieldOffset(76)]
|
|
public int displayIndex;
|
|
}
|
|
}
|