640 lines
20 KiB
C#
640 lines
20 KiB
C#
using System;
|
|
using UnityEngine;
|
|
using Valve.VR;
|
|
|
|
// Token: 0x0200059D RID: 1437
|
|
public class SteamVR_TestTrackedCamera : MonoBehaviour
|
|
{
|
|
// Token: 0x0600E38D RID: 58253 RVA: 0x0043D728 File Offset: 0x0043B928
|
|
private void MNHFOINKMAG()
|
|
{
|
|
NLOKEGCELEK.CIHCIHFFPKC cihcihffpkc = NLOKEGCELEK.DMOGCCDCJKG(this.undistorted, 0);
|
|
cihcihffpkc.GPLJLBAHPEL();
|
|
if (!cihcihffpkc.EAEGNLHCHFA)
|
|
{
|
|
base.enabled = false;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600E38E RID: 58254 RVA: 0x0043D75C File Offset: 0x0043B95C
|
|
private void KGNIGEGFNEB()
|
|
{
|
|
this.material.mainTexture = null;
|
|
NLOKEGCELEK.CIHCIHFFPKC cihcihffpkc = NLOKEGCELEK.IPENOBIHDLK(this.undistorted, 0);
|
|
cihcihffpkc.JAFOOIKLCIH();
|
|
}
|
|
|
|
// Token: 0x0600E38F RID: 58255 RVA: 0x0043D78C File Offset: 0x0043B98C
|
|
private void FKICNDLJPNG()
|
|
{
|
|
this.material.mainTexture = null;
|
|
NLOKEGCELEK.CIHCIHFFPKC cihcihffpkc = NLOKEGCELEK.DMOGCCDCJKG(this.undistorted, 1);
|
|
cihcihffpkc.LNCLHBPAOHK();
|
|
}
|
|
|
|
// Token: 0x0600E390 RID: 58256 RVA: 0x0043D7BC File Offset: 0x0043B9BC
|
|
private void GPFGKKFDIED()
|
|
{
|
|
this.material.mainTexture = null;
|
|
NLOKEGCELEK.CIHCIHFFPKC cihcihffpkc = NLOKEGCELEK.HEFBIAMKJPF(this.undistorted, 0);
|
|
cihcihffpkc.FKLMMGAEOPM();
|
|
}
|
|
|
|
// Token: 0x0600E391 RID: 58257 RVA: 0x0043D7EC File Offset: 0x0043B9EC
|
|
private void DCBFONDNMKH()
|
|
{
|
|
this.material.mainTexture = null;
|
|
NLOKEGCELEK.CIHCIHFFPKC cihcihffpkc = NLOKEGCELEK.EAILKLFBJGA(this.undistorted, 0);
|
|
cihcihffpkc.Release();
|
|
}
|
|
|
|
// Token: 0x0600E392 RID: 58258 RVA: 0x0043D81C File Offset: 0x0043BA1C
|
|
private void AIGNIFGNLGH()
|
|
{
|
|
this.material.mainTexture = null;
|
|
NLOKEGCELEK.CIHCIHFFPKC cihcihffpkc = NLOKEGCELEK.DMOGCCDCJKG(this.undistorted, 1);
|
|
cihcihffpkc.HCOBDBPNCOE();
|
|
}
|
|
|
|
// Token: 0x0600E393 RID: 58259 RVA: 0x0043D84C File Offset: 0x0043BA4C
|
|
private void HAFLIECFKGF()
|
|
{
|
|
NLOKEGCELEK.CIHCIHFFPKC cihcihffpkc = NLOKEGCELEK.NAEOKJOEMBN(this.undistorted, 1);
|
|
Texture2D texture2D = cihcihffpkc.PDOJCGBMBGG();
|
|
if (texture2D == null)
|
|
{
|
|
return;
|
|
}
|
|
this.material.mainTexture = texture2D;
|
|
float num = (float)texture2D.width / (float)texture2D.height;
|
|
if (this.cropped)
|
|
{
|
|
BHNBHPCKNLO bhnbhpcknlo = cihcihffpkc.IAHBPBCIMDO();
|
|
this.material.mainTextureOffset = new Vector2(bhnbhpcknlo.OLOJJBFCNGD, bhnbhpcknlo.ADEACBFCCEI);
|
|
float num2 = bhnbhpcknlo.AMIKGKPJANG - bhnbhpcknlo.OLOJJBFCNGD;
|
|
float num3 = bhnbhpcknlo.LHFHCIKAPNC - bhnbhpcknlo.ADEACBFCCEI;
|
|
this.material.mainTextureScale = new Vector2(num2, num3);
|
|
num *= Mathf.Abs(num2 / num3);
|
|
}
|
|
else
|
|
{
|
|
this.material.mainTextureOffset = Vector2.zero;
|
|
this.material.mainTextureScale = new Vector2(1356f, 244f);
|
|
}
|
|
this.target.localScale = new Vector3(1297f, 204f / num, 1464f);
|
|
if (cihcihffpkc.HKOCLLNGPOA())
|
|
{
|
|
GGJHKKJMNKB.RigidTransform rigidTransform = cihcihffpkc.DELIFGDEBAL();
|
|
this.target.localPosition = rigidTransform.pos;
|
|
this.target.localRotation = rigidTransform.rot;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600E394 RID: 58260 RVA: 0x0043D990 File Offset: 0x0043BB90
|
|
private void NKKKHBAGEJH()
|
|
{
|
|
NLOKEGCELEK.CIHCIHFFPKC cihcihffpkc = NLOKEGCELEK.IPENOBIHDLK(this.undistorted, 1);
|
|
Texture2D texture2D = cihcihffpkc.JHOPMNJNOJA();
|
|
if (texture2D == null)
|
|
{
|
|
return;
|
|
}
|
|
this.material.mainTexture = texture2D;
|
|
float num = (float)texture2D.width / (float)texture2D.height;
|
|
if (this.cropped)
|
|
{
|
|
BHNBHPCKNLO bhnbhpcknlo = cihcihffpkc.ACPNAOLELFO();
|
|
this.material.mainTextureOffset = new Vector2(bhnbhpcknlo.OLOJJBFCNGD, bhnbhpcknlo.ADEACBFCCEI);
|
|
float num2 = bhnbhpcknlo.AMIKGKPJANG - bhnbhpcknlo.OLOJJBFCNGD;
|
|
float num3 = bhnbhpcknlo.LHFHCIKAPNC - bhnbhpcknlo.ADEACBFCCEI;
|
|
this.material.mainTextureScale = new Vector2(num2, num3);
|
|
num *= Mathf.Abs(num2 / num3);
|
|
}
|
|
else
|
|
{
|
|
this.material.mainTextureOffset = Vector2.zero;
|
|
this.material.mainTextureScale = new Vector2(610f, 1600f);
|
|
}
|
|
this.target.localScale = new Vector3(1964f, 378f / num, 1810f);
|
|
if (cihcihffpkc.CJPBGMPKCJB())
|
|
{
|
|
GGJHKKJMNKB.RigidTransform rigidTransform = cihcihffpkc.KNNHKOHNMCB();
|
|
this.target.localPosition = rigidTransform.pos;
|
|
this.target.localRotation = rigidTransform.rot;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600E395 RID: 58261 RVA: 0x0043DAD4 File Offset: 0x0043BCD4
|
|
private void JINABDGLFOB()
|
|
{
|
|
NLOKEGCELEK.CIHCIHFFPKC cihcihffpkc = NLOKEGCELEK.JLKHMCGCDPE(this.undistorted, 0);
|
|
Texture2D texture2D = cihcihffpkc.AGBNKKPFELF();
|
|
if (texture2D == null)
|
|
{
|
|
return;
|
|
}
|
|
this.material.mainTexture = texture2D;
|
|
float num = (float)texture2D.width / (float)texture2D.height;
|
|
if (this.cropped)
|
|
{
|
|
BHNBHPCKNLO bhnbhpcknlo = cihcihffpkc.LDCAMBOICCK;
|
|
this.material.mainTextureOffset = new Vector2(bhnbhpcknlo.OLOJJBFCNGD, bhnbhpcknlo.ADEACBFCCEI);
|
|
float num2 = bhnbhpcknlo.AMIKGKPJANG - bhnbhpcknlo.OLOJJBFCNGD;
|
|
float num3 = bhnbhpcknlo.LHFHCIKAPNC - bhnbhpcknlo.ADEACBFCCEI;
|
|
this.material.mainTextureScale = new Vector2(num2, num3);
|
|
num *= Mathf.Abs(num2 / num3);
|
|
}
|
|
else
|
|
{
|
|
this.material.mainTextureOffset = Vector2.zero;
|
|
this.material.mainTextureScale = new Vector2(68f, 470f);
|
|
}
|
|
this.target.localScale = new Vector3(291f, 1964f / num, 1123f);
|
|
if (cihcihffpkc.OOIPHCNJILJ())
|
|
{
|
|
GGJHKKJMNKB.RigidTransform rigidTransform = cihcihffpkc.MOHADDAHHJJ();
|
|
this.target.localPosition = rigidTransform.pos;
|
|
this.target.localRotation = rigidTransform.rot;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600E396 RID: 58262 RVA: 0x0043DC18 File Offset: 0x0043BE18
|
|
private void EKAKJHOBNKF()
|
|
{
|
|
NLOKEGCELEK.CIHCIHFFPKC cihcihffpkc = NLOKEGCELEK.AJEDKOJBNAH(this.undistorted, 1);
|
|
cihcihffpkc.GPLJLBAHPEL();
|
|
if (!cihcihffpkc.NJEDJDNDGBO())
|
|
{
|
|
base.enabled = false;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600E397 RID: 58263 RVA: 0x0043DC4C File Offset: 0x0043BE4C
|
|
private void IBDJIHEMGMJ()
|
|
{
|
|
this.material.mainTexture = null;
|
|
NLOKEGCELEK.CIHCIHFFPKC cihcihffpkc = NLOKEGCELEK.IPENOBIHDLK(this.undistorted, 1);
|
|
cihcihffpkc.HAKIOLHCMCE();
|
|
}
|
|
|
|
// Token: 0x0600E398 RID: 58264 RVA: 0x0043DC7C File Offset: 0x0043BE7C
|
|
private void EJELDFPCKKF()
|
|
{
|
|
NLOKEGCELEK.CIHCIHFFPKC cihcihffpkc = NLOKEGCELEK.OBMMABNKGJI(this.undistorted, 0);
|
|
Texture2D texture2D = cihcihffpkc.AKFIEOELLPL();
|
|
if (texture2D == null)
|
|
{
|
|
return;
|
|
}
|
|
this.material.mainTexture = texture2D;
|
|
float num = (float)texture2D.width / (float)texture2D.height;
|
|
if (this.cropped)
|
|
{
|
|
BHNBHPCKNLO bhnbhpcknlo = cihcihffpkc.CFNNINJBBJH();
|
|
this.material.mainTextureOffset = new Vector2(bhnbhpcknlo.OLOJJBFCNGD, bhnbhpcknlo.ADEACBFCCEI);
|
|
float num2 = bhnbhpcknlo.AMIKGKPJANG - bhnbhpcknlo.OLOJJBFCNGD;
|
|
float num3 = bhnbhpcknlo.LHFHCIKAPNC - bhnbhpcknlo.ADEACBFCCEI;
|
|
this.material.mainTextureScale = new Vector2(num2, num3);
|
|
num *= Mathf.Abs(num2 / num3);
|
|
}
|
|
else
|
|
{
|
|
this.material.mainTextureOffset = Vector2.zero;
|
|
this.material.mainTextureScale = new Vector2(199f, 1919f);
|
|
}
|
|
this.target.localScale = new Vector3(1506f, 766f / num, 351f);
|
|
if (cihcihffpkc.FDDIODNEKPM())
|
|
{
|
|
GGJHKKJMNKB.RigidTransform rigidTransform = cihcihffpkc.GJHEJEEGLCD();
|
|
this.target.localPosition = rigidTransform.pos;
|
|
this.target.localRotation = rigidTransform.rot;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600E399 RID: 58265 RVA: 0x0043DDC0 File Offset: 0x0043BFC0
|
|
private void DCHHEKEBMHL()
|
|
{
|
|
NLOKEGCELEK.CIHCIHFFPKC cihcihffpkc = NLOKEGCELEK.PCPKJFKJHHD(this.undistorted, 1);
|
|
cihcihffpkc.KJCEGBNLEHA();
|
|
if (!cihcihffpkc.CGHMLIABECH())
|
|
{
|
|
base.enabled = false;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600E39A RID: 58266 RVA: 0x0043DDF4 File Offset: 0x0043BFF4
|
|
private void Update()
|
|
{
|
|
NLOKEGCELEK.CIHCIHFFPKC cihcihffpkc = NLOKEGCELEK.LOIJMGAPIKL(this.undistorted, 0);
|
|
Texture2D texture2D = cihcihffpkc.JBGLHECEOPE;
|
|
if (texture2D == null)
|
|
{
|
|
return;
|
|
}
|
|
this.material.mainTexture = texture2D;
|
|
float num = (float)texture2D.width / (float)texture2D.height;
|
|
if (this.cropped)
|
|
{
|
|
BHNBHPCKNLO bhnbhpcknlo = cihcihffpkc.LDCAMBOICCK;
|
|
this.material.mainTextureOffset = new Vector2(bhnbhpcknlo.OLOJJBFCNGD, bhnbhpcknlo.ADEACBFCCEI);
|
|
float num2 = bhnbhpcknlo.AMIKGKPJANG - bhnbhpcknlo.OLOJJBFCNGD;
|
|
float num3 = bhnbhpcknlo.LHFHCIKAPNC - bhnbhpcknlo.ADEACBFCCEI;
|
|
this.material.mainTextureScale = new Vector2(num2, num3);
|
|
num *= Mathf.Abs(num2 / num3);
|
|
}
|
|
else
|
|
{
|
|
this.material.mainTextureOffset = Vector2.zero;
|
|
this.material.mainTextureScale = new Vector2(1f, -1f);
|
|
}
|
|
this.target.localScale = new Vector3(1f, 1f / num, 1f);
|
|
if (cihcihffpkc.AFKJHFLFEEC)
|
|
{
|
|
GGJHKKJMNKB.RigidTransform rigidTransform = cihcihffpkc.DKCNBKFJCLK;
|
|
this.target.localPosition = rigidTransform.pos;
|
|
this.target.localRotation = rigidTransform.rot;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600E39B RID: 58267 RVA: 0x0043DF38 File Offset: 0x0043C138
|
|
private void MDCNOIALLAF()
|
|
{
|
|
NLOKEGCELEK.CIHCIHFFPKC cihcihffpkc = NLOKEGCELEK.IPENOBIHDLK(this.undistorted, 0);
|
|
Texture2D texture2D = cihcihffpkc.JHOPMNJNOJA();
|
|
if (texture2D == null)
|
|
{
|
|
return;
|
|
}
|
|
this.material.mainTexture = texture2D;
|
|
float num = (float)texture2D.width / (float)texture2D.height;
|
|
if (this.cropped)
|
|
{
|
|
BHNBHPCKNLO bhnbhpcknlo = cihcihffpkc.IAHBPBCIMDO();
|
|
this.material.mainTextureOffset = new Vector2(bhnbhpcknlo.OLOJJBFCNGD, bhnbhpcknlo.ADEACBFCCEI);
|
|
float num2 = bhnbhpcknlo.AMIKGKPJANG - bhnbhpcknlo.OLOJJBFCNGD;
|
|
float num3 = bhnbhpcknlo.LHFHCIKAPNC - bhnbhpcknlo.ADEACBFCCEI;
|
|
this.material.mainTextureScale = new Vector2(num2, num3);
|
|
num *= Mathf.Abs(num2 / num3);
|
|
}
|
|
else
|
|
{
|
|
this.material.mainTextureOffset = Vector2.zero;
|
|
this.material.mainTextureScale = new Vector2(427f, 1935f);
|
|
}
|
|
this.target.localScale = new Vector3(997f, 1993f / num, 70f);
|
|
if (cihcihffpkc.GLJJEHJCHOM())
|
|
{
|
|
GGJHKKJMNKB.RigidTransform rigidTransform = cihcihffpkc.ABNCHPPHMON();
|
|
this.target.localPosition = rigidTransform.pos;
|
|
this.target.localRotation = rigidTransform.rot;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600E39C RID: 58268 RVA: 0x0043E07C File Offset: 0x0043C27C
|
|
private void BFBHEJHIHCP()
|
|
{
|
|
NLOKEGCELEK.CIHCIHFFPKC cihcihffpkc = NLOKEGCELEK.OBMMABNKGJI(this.undistorted, 1);
|
|
cihcihffpkc.IMOKBFHPCPO();
|
|
if (!cihcihffpkc.AFAMCDMDKEJ())
|
|
{
|
|
base.enabled = false;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600E39D RID: 58269 RVA: 0x0043E0B0 File Offset: 0x0043C2B0
|
|
private void DCILLKCLNCI()
|
|
{
|
|
NLOKEGCELEK.CIHCIHFFPKC cihcihffpkc = NLOKEGCELEK.IPENOBIHDLK(this.undistorted, 1);
|
|
cihcihffpkc.IMOKBFHPCPO();
|
|
if (!cihcihffpkc.AFAMCDMDKEJ())
|
|
{
|
|
base.enabled = true;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600E39E RID: 58270 RVA: 0x0043E0E4 File Offset: 0x0043C2E4
|
|
private void OEDEIEBKLCG()
|
|
{
|
|
this.material.mainTexture = null;
|
|
NLOKEGCELEK.CIHCIHFFPKC cihcihffpkc = NLOKEGCELEK.EAILKLFBJGA(this.undistorted, 1);
|
|
cihcihffpkc.AKHAFKELKLC();
|
|
}
|
|
|
|
// Token: 0x0600E39F RID: 58271 RVA: 0x0043E114 File Offset: 0x0043C314
|
|
private void MFKHJLEGNGP()
|
|
{
|
|
this.material.mainTexture = null;
|
|
NLOKEGCELEK.CIHCIHFFPKC cihcihffpkc = NLOKEGCELEK.KOBOAPABIJA(this.undistorted, 0);
|
|
cihcihffpkc.LNCLHBPAOHK();
|
|
}
|
|
|
|
// Token: 0x0600E3A0 RID: 58272 RVA: 0x0043E144 File Offset: 0x0043C344
|
|
private void DCIJHAAEEHF()
|
|
{
|
|
this.material.mainTexture = null;
|
|
NLOKEGCELEK.CIHCIHFFPKC cihcihffpkc = NLOKEGCELEK.IPENOBIHDLK(this.undistorted, 1);
|
|
cihcihffpkc.HAKIOLHCMCE();
|
|
}
|
|
|
|
// Token: 0x0600E3A1 RID: 58273 RVA: 0x0043E174 File Offset: 0x0043C374
|
|
private void LKLBCGNBJEM()
|
|
{
|
|
NLOKEGCELEK.CIHCIHFFPKC cihcihffpkc = NLOKEGCELEK.NAEOKJOEMBN(this.undistorted, 0);
|
|
cihcihffpkc.KJCEGBNLEHA();
|
|
if (!cihcihffpkc.EAEGNLHCHFA)
|
|
{
|
|
base.enabled = true;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600E3A2 RID: 58274 RVA: 0x0043E1A8 File Offset: 0x0043C3A8
|
|
private void LBMAIMHLDAE()
|
|
{
|
|
this.material.mainTexture = null;
|
|
NLOKEGCELEK.CIHCIHFFPKC cihcihffpkc = NLOKEGCELEK.OBMMABNKGJI(this.undistorted, 1);
|
|
cihcihffpkc.AKHAFKELKLC();
|
|
}
|
|
|
|
// Token: 0x0600E3A3 RID: 58275 RVA: 0x0043E1D8 File Offset: 0x0043C3D8
|
|
private void AKBMLDPIIKM()
|
|
{
|
|
NLOKEGCELEK.CIHCIHFFPKC cihcihffpkc = NLOKEGCELEK.JLKHMCGCDPE(this.undistorted, 0);
|
|
cihcihffpkc.FPOBLNDPHNB();
|
|
if (!cihcihffpkc.CGHMLIABECH())
|
|
{
|
|
base.enabled = true;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600E3A4 RID: 58276 RVA: 0x0043E20C File Offset: 0x0043C40C
|
|
private void DKDGOJGKHDM()
|
|
{
|
|
NLOKEGCELEK.CIHCIHFFPKC cihcihffpkc = NLOKEGCELEK.OBMMABNKGJI(this.undistorted, 0);
|
|
Texture2D texture2D = cihcihffpkc.AKFIEOELLPL();
|
|
if (texture2D == null)
|
|
{
|
|
return;
|
|
}
|
|
this.material.mainTexture = texture2D;
|
|
float num = (float)texture2D.width / (float)texture2D.height;
|
|
if (this.cropped)
|
|
{
|
|
BHNBHPCKNLO bhnbhpcknlo = cihcihffpkc.LDCAMBOICCK;
|
|
this.material.mainTextureOffset = new Vector2(bhnbhpcknlo.OLOJJBFCNGD, bhnbhpcknlo.ADEACBFCCEI);
|
|
float num2 = bhnbhpcknlo.AMIKGKPJANG - bhnbhpcknlo.OLOJJBFCNGD;
|
|
float num3 = bhnbhpcknlo.LHFHCIKAPNC - bhnbhpcknlo.ADEACBFCCEI;
|
|
this.material.mainTextureScale = new Vector2(num2, num3);
|
|
num *= Mathf.Abs(num2 / num3);
|
|
}
|
|
else
|
|
{
|
|
this.material.mainTextureOffset = Vector2.zero;
|
|
this.material.mainTextureScale = new Vector2(1716f, 1491f);
|
|
}
|
|
this.target.localScale = new Vector3(490f, 1682f / num, 842f);
|
|
if (cihcihffpkc.OOIPHCNJILJ())
|
|
{
|
|
GGJHKKJMNKB.RigidTransform rigidTransform = cihcihffpkc.KNNHKOHNMCB();
|
|
this.target.localPosition = rigidTransform.pos;
|
|
this.target.localRotation = rigidTransform.rot;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600E3A6 RID: 58278 RVA: 0x0043E368 File Offset: 0x0043C568
|
|
private void OnDisable()
|
|
{
|
|
this.material.mainTexture = null;
|
|
NLOKEGCELEK.CIHCIHFFPKC cihcihffpkc = NLOKEGCELEK.LOIJMGAPIKL(this.undistorted, 0);
|
|
cihcihffpkc.Release();
|
|
}
|
|
|
|
// Token: 0x0600E3A7 RID: 58279 RVA: 0x0043E398 File Offset: 0x0043C598
|
|
private void AGDGJOLCPDL()
|
|
{
|
|
NLOKEGCELEK.CIHCIHFFPKC cihcihffpkc = NLOKEGCELEK.LOIJMGAPIKL(this.undistorted, 0);
|
|
cihcihffpkc.IMOKBFHPCPO();
|
|
if (!cihcihffpkc.NJEDJDNDGBO())
|
|
{
|
|
base.enabled = true;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600E3A8 RID: 58280 RVA: 0x0043E3CC File Offset: 0x0043C5CC
|
|
private void BCHOLEEINEL()
|
|
{
|
|
NLOKEGCELEK.CIHCIHFFPKC cihcihffpkc = NLOKEGCELEK.MDOKGKANIMD(this.undistorted, 0);
|
|
cihcihffpkc.IMOKBFHPCPO();
|
|
if (!cihcihffpkc.EAEGNLHCHFA)
|
|
{
|
|
base.enabled = false;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600E3A9 RID: 58281 RVA: 0x0043E400 File Offset: 0x0043C600
|
|
private void CEDDPLOOEOA()
|
|
{
|
|
this.material.mainTexture = null;
|
|
NLOKEGCELEK.CIHCIHFFPKC cihcihffpkc = NLOKEGCELEK.MDOKGKANIMD(this.undistorted, 1);
|
|
cihcihffpkc.EGEHGHEAINO();
|
|
}
|
|
|
|
// Token: 0x0600E3AA RID: 58282 RVA: 0x0043E430 File Offset: 0x0043C630
|
|
private void NPKCNDGPDIH()
|
|
{
|
|
NLOKEGCELEK.CIHCIHFFPKC cihcihffpkc = NLOKEGCELEK.AJEDKOJBNAH(this.undistorted, 1);
|
|
cihcihffpkc.KJCEGBNLEHA();
|
|
if (!cihcihffpkc.NJEDJDNDGBO())
|
|
{
|
|
base.enabled = true;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600E3AB RID: 58283 RVA: 0x0043E464 File Offset: 0x0043C664
|
|
private void OnEnable()
|
|
{
|
|
NLOKEGCELEK.CIHCIHFFPKC cihcihffpkc = NLOKEGCELEK.LOIJMGAPIKL(this.undistorted, 0);
|
|
cihcihffpkc.KJCEGBNLEHA();
|
|
if (!cihcihffpkc.EAEGNLHCHFA)
|
|
{
|
|
base.enabled = false;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600E3AC RID: 58284 RVA: 0x0043E498 File Offset: 0x0043C698
|
|
private void PKKOKHACBCE()
|
|
{
|
|
NLOKEGCELEK.CIHCIHFFPKC cihcihffpkc = NLOKEGCELEK.HEFBIAMKJPF(this.undistorted, 0);
|
|
Texture2D texture2D = cihcihffpkc.IHMDDBPGJLA();
|
|
if (texture2D == null)
|
|
{
|
|
return;
|
|
}
|
|
this.material.mainTexture = texture2D;
|
|
float num = (float)texture2D.width / (float)texture2D.height;
|
|
if (this.cropped)
|
|
{
|
|
BHNBHPCKNLO bhnbhpcknlo = cihcihffpkc.MMHNNBMAOGL();
|
|
this.material.mainTextureOffset = new Vector2(bhnbhpcknlo.OLOJJBFCNGD, bhnbhpcknlo.ADEACBFCCEI);
|
|
float num2 = bhnbhpcknlo.AMIKGKPJANG - bhnbhpcknlo.OLOJJBFCNGD;
|
|
float num3 = bhnbhpcknlo.LHFHCIKAPNC - bhnbhpcknlo.ADEACBFCCEI;
|
|
this.material.mainTextureScale = new Vector2(num2, num3);
|
|
num *= Mathf.Abs(num2 / num3);
|
|
}
|
|
else
|
|
{
|
|
this.material.mainTextureOffset = Vector2.zero;
|
|
this.material.mainTextureScale = new Vector2(1361f, 1462f);
|
|
}
|
|
this.target.localScale = new Vector3(782f, 28f / num, 1900f);
|
|
if (cihcihffpkc.FDDIODNEKPM())
|
|
{
|
|
GGJHKKJMNKB.RigidTransform rigidTransform = cihcihffpkc.DKCNBKFJCLK;
|
|
this.target.localPosition = rigidTransform.pos;
|
|
this.target.localRotation = rigidTransform.rot;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600E3AD RID: 58285 RVA: 0x0043E5DC File Offset: 0x0043C7DC
|
|
private void DJDODDJLJPO()
|
|
{
|
|
NLOKEGCELEK.CIHCIHFFPKC cihcihffpkc = NLOKEGCELEK.IPENOBIHDLK(this.undistorted, 1);
|
|
cihcihffpkc.FPOBLNDPHNB();
|
|
if (!cihcihffpkc.EAEGNLHCHFA)
|
|
{
|
|
base.enabled = false;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600E3AE RID: 58286 RVA: 0x0043E610 File Offset: 0x0043C810
|
|
private void JGFOPLONGBH()
|
|
{
|
|
NLOKEGCELEK.CIHCIHFFPKC cihcihffpkc = NLOKEGCELEK.LOIJMGAPIKL(this.undistorted, 1);
|
|
Texture2D texture2D = cihcihffpkc.NJDAPNLDLCF();
|
|
if (texture2D == null)
|
|
{
|
|
return;
|
|
}
|
|
this.material.mainTexture = texture2D;
|
|
float num = (float)texture2D.width / (float)texture2D.height;
|
|
if (this.cropped)
|
|
{
|
|
BHNBHPCKNLO bhnbhpcknlo = cihcihffpkc.OCGGFINPAKI();
|
|
this.material.mainTextureOffset = new Vector2(bhnbhpcknlo.OLOJJBFCNGD, bhnbhpcknlo.ADEACBFCCEI);
|
|
float num2 = bhnbhpcknlo.AMIKGKPJANG - bhnbhpcknlo.OLOJJBFCNGD;
|
|
float num3 = bhnbhpcknlo.LHFHCIKAPNC - bhnbhpcknlo.ADEACBFCCEI;
|
|
this.material.mainTextureScale = new Vector2(num2, num3);
|
|
num *= Mathf.Abs(num2 / num3);
|
|
}
|
|
else
|
|
{
|
|
this.material.mainTextureOffset = Vector2.zero;
|
|
this.material.mainTextureScale = new Vector2(414f, 1153f);
|
|
}
|
|
this.target.localScale = new Vector3(597f, 1245f / num, 1470f);
|
|
if (cihcihffpkc.HKOCLLNGPOA())
|
|
{
|
|
GGJHKKJMNKB.RigidTransform rigidTransform = cihcihffpkc.MOHADDAHHJJ();
|
|
this.target.localPosition = rigidTransform.pos;
|
|
this.target.localRotation = rigidTransform.rot;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600E3AF RID: 58287 RVA: 0x0043E754 File Offset: 0x0043C954
|
|
private void CNIHJPOPHNN()
|
|
{
|
|
NLOKEGCELEK.CIHCIHFFPKC cihcihffpkc = NLOKEGCELEK.PCPKJFKJHHD(this.undistorted, 0);
|
|
cihcihffpkc.IMOKBFHPCPO();
|
|
if (!cihcihffpkc.CGHMLIABECH())
|
|
{
|
|
base.enabled = false;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600E3B0 RID: 58288 RVA: 0x0043E788 File Offset: 0x0043C988
|
|
private void MKPCNIFHJHM()
|
|
{
|
|
NLOKEGCELEK.CIHCIHFFPKC cihcihffpkc = NLOKEGCELEK.HEFBIAMKJPF(this.undistorted, 0);
|
|
cihcihffpkc.DFNLOFLCKJP();
|
|
if (!cihcihffpkc.EHEMGIHNNLF())
|
|
{
|
|
base.enabled = true;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600E3B1 RID: 58289 RVA: 0x0043E7BC File Offset: 0x0043C9BC
|
|
private void CKCIGKNKMAF()
|
|
{
|
|
this.material.mainTexture = null;
|
|
NLOKEGCELEK.CIHCIHFFPKC cihcihffpkc = NLOKEGCELEK.CDMANGDFDOB(this.undistorted, 1);
|
|
cihcihffpkc.EGGKKENHNBL();
|
|
}
|
|
|
|
// Token: 0x0600E3B2 RID: 58290 RVA: 0x0043E7EC File Offset: 0x0043C9EC
|
|
private void BFHHJINKJBH()
|
|
{
|
|
NLOKEGCELEK.CIHCIHFFPKC cihcihffpkc = NLOKEGCELEK.LOIJMGAPIKL(this.undistorted, 1);
|
|
cihcihffpkc.IMOKBFHPCPO();
|
|
if (!cihcihffpkc.CGHMLIABECH())
|
|
{
|
|
base.enabled = false;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600E3B3 RID: 58291 RVA: 0x0043E820 File Offset: 0x0043CA20
|
|
private void HNNINFHGLCP()
|
|
{
|
|
NLOKEGCELEK.CIHCIHFFPKC cihcihffpkc = NLOKEGCELEK.IPENOBIHDLK(this.undistorted, 1);
|
|
cihcihffpkc.KJCEGBNLEHA();
|
|
if (!cihcihffpkc.EAEGNLHCHFA)
|
|
{
|
|
base.enabled = false;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600E3B4 RID: 58292 RVA: 0x0043E854 File Offset: 0x0043CA54
|
|
private void CJDFMFPIFDB()
|
|
{
|
|
NLOKEGCELEK.CIHCIHFFPKC cihcihffpkc = NLOKEGCELEK.NAEOKJOEMBN(this.undistorted, 0);
|
|
Texture2D texture2D = cihcihffpkc.PDOJCGBMBGG();
|
|
if (texture2D == null)
|
|
{
|
|
return;
|
|
}
|
|
this.material.mainTexture = texture2D;
|
|
float num = (float)texture2D.width / (float)texture2D.height;
|
|
if (this.cropped)
|
|
{
|
|
BHNBHPCKNLO bhnbhpcknlo = cihcihffpkc.LDCAMBOICCK;
|
|
this.material.mainTextureOffset = new Vector2(bhnbhpcknlo.OLOJJBFCNGD, bhnbhpcknlo.ADEACBFCCEI);
|
|
float num2 = bhnbhpcknlo.AMIKGKPJANG - bhnbhpcknlo.OLOJJBFCNGD;
|
|
float num3 = bhnbhpcknlo.LHFHCIKAPNC - bhnbhpcknlo.ADEACBFCCEI;
|
|
this.material.mainTextureScale = new Vector2(num2, num3);
|
|
num *= Mathf.Abs(num2 / num3);
|
|
}
|
|
else
|
|
{
|
|
this.material.mainTextureOffset = Vector2.zero;
|
|
this.material.mainTextureScale = new Vector2(1522f, 1194f);
|
|
}
|
|
this.target.localScale = new Vector3(1530f, 998f / num, 1361f);
|
|
if (cihcihffpkc.AFKJHFLFEEC)
|
|
{
|
|
GGJHKKJMNKB.RigidTransform rigidTransform = cihcihffpkc.MOHADDAHHJJ();
|
|
this.target.localPosition = rigidTransform.pos;
|
|
this.target.localRotation = rigidTransform.rot;
|
|
}
|
|
}
|
|
|
|
// Token: 0x040020F5 RID: 8437
|
|
public Material material;
|
|
|
|
// Token: 0x040020F6 RID: 8438
|
|
public Transform target;
|
|
|
|
// Token: 0x040020F7 RID: 8439
|
|
public bool undistorted = true;
|
|
|
|
// Token: 0x040020F8 RID: 8440
|
|
public bool cropped = true;
|
|
}
|