Files
Jan2021-Cpp2Il-Dump/Assembly-CSharp/ClusterLOD/PrimitiveComponentInfo.cs
T
2026-04-08 23:40:05 +02:00

98 lines
2.8 KiB
C#

using System;
using System.Runtime.InteropServices;
using Cpp2IlInjected;
using Unity.Mathematics;
using UnityEngine;
namespace ClusterLOD
{
// Token: 0x02000C8D RID: 3213
[Token(Token = "0x2000C8D")]
[StructLayout(0, Size = 200)]
public struct PrimitiveComponentInfo
{
// Token: 0x06004D5E RID: 19806 RVA: 0x0012050C File Offset: 0x0011E70C
[Token(Token = "0x6004D5E")]
[Address(RVA = "0x2AC7A0", Offset = "0x2ABBA0", VA = "0x1802AC7A0")]
public PrimitiveComponentInfo(Vector3 pos, Quaternion rot, Vector3 scale, CKELFEGHFJD materialIndices, int meshIndex, int scalingMode, Vector3 scalingRatio, float authoredBevelRatio)
{
float z = scale.z;
float z2 = pos.z;
float4x4 float4x;
float4 c = float4x.c1;
float4 c2 = float4x.c2;
float4 c3 = float4x.c3;
this.inverseTranspose = c3;
float4 c4 = float4x.c1;
float4x4 float4x2;
float4 c5 = float4x2.c1;
this.inverseTranspose.c2 = c5;
float4 c6 = float4x2.c2;
this.inverseTranspose.c3 = c6;
float4 c7 = float4x2.c3;
float z3 = pos.z;
this.position = c7;
float3 @float;
float z4 = @float.z;
float z5 = scale.z;
float3 float2;
float z6 = float2.z;
this.scalingRatio = z6;
this.scalingRatio.y = z6;
this.authoredBevelRatio = z6;
float3 float3;
float z7 = float3.z;
}
// Token: 0x0400394F RID: 14671
[global::Cpp2IlInjected.FieldOffset(Offset = "0x0")]
[Token(Token = "0x400394F")]
public float4x4 transform;
// Token: 0x04003950 RID: 14672
[global::Cpp2IlInjected.FieldOffset(Offset = "0x40")]
[Token(Token = "0x4003950")]
public float4x4 inverseTranspose;
// Token: 0x04003951 RID: 14673
[global::Cpp2IlInjected.FieldOffset(Offset = "0x80")]
[Token(Token = "0x4003951")]
public float3 position;
// Token: 0x04003952 RID: 14674
[global::Cpp2IlInjected.FieldOffset(Offset = "0x8C")]
[Token(Token = "0x4003952")]
public quaternion rotation;
// Token: 0x04003953 RID: 14675
[global::Cpp2IlInjected.FieldOffset(Offset = "0x9C")]
[Token(Token = "0x4003953")]
public float3 scale;
// Token: 0x04003954 RID: 14676
[global::Cpp2IlInjected.FieldOffset(Offset = "0xA8")]
[Token(Token = "0x4003954")]
public CKELFEGHFJD materialIndices;
// Token: 0x04003955 RID: 14677
[global::Cpp2IlInjected.FieldOffset(Offset = "0xB0")]
[Token(Token = "0x4003955")]
public int scalingMode;
// Token: 0x04003956 RID: 14678
[global::Cpp2IlInjected.FieldOffset(Offset = "0xB4")]
[Token(Token = "0x4003956")]
public float3 scalingRatio;
// Token: 0x04003957 RID: 14679
[global::Cpp2IlInjected.FieldOffset(Offset = "0xC0")]
[Token(Token = "0x4003957")]
public float authoredBevelRatio;
// Token: 0x04003958 RID: 14680
[global::Cpp2IlInjected.FieldOffset(Offset = "0xC4")]
[Token(Token = "0x4003958")]
public int meshIndex;
}
}