Files
2026-06-04 11:42:34 +02:00

426 lines
11 KiB
C#

using System;
using System.Runtime.CompilerServices;
using UnityEngine.Internal;
using UnityEngine.Rendering;
using UnityEngine.Scripting;
namespace UnityEngine
{
// Token: 0x020000AA RID: 170
public sealed class ReflectionProbe : Behaviour
{
// Token: 0x170002B2 RID: 690
// (get) Token: 0x06000C18 RID: 3096
// (set) Token: 0x06000C19 RID: 3097
[Obsolete("type property has been deprecated. Starting with Unity 5.4, the only supported reflection probe type is Cube.", true)]
public extern ReflectionProbeType type
{
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
get;
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
set;
}
// Token: 0x170002B3 RID: 691
// (get) Token: 0x06000C1A RID: 3098
// (set) Token: 0x06000C1B RID: 3099
public extern bool hdr
{
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
get;
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
set;
}
// Token: 0x170002B4 RID: 692
// (get) Token: 0x06000C1C RID: 3100 RVA: 0x00011480 File Offset: 0x0000F680
// (set) Token: 0x06000C1D RID: 3101 RVA: 0x000114A0 File Offset: 0x0000F6A0
public Vector3 size
{
get
{
Vector3 vector;
this.INTERNAL_get_size(out vector);
return vector;
}
set
{
this.INTERNAL_set_size(ref value);
}
}
// Token: 0x06000C1E RID: 3102
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
private extern void INTERNAL_get_size(out Vector3 value);
// Token: 0x06000C1F RID: 3103
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
private extern void INTERNAL_set_size(ref Vector3 value);
// Token: 0x170002B5 RID: 693
// (get) Token: 0x06000C20 RID: 3104 RVA: 0x000114AC File Offset: 0x0000F6AC
// (set) Token: 0x06000C21 RID: 3105 RVA: 0x000114CC File Offset: 0x0000F6CC
public Vector3 center
{
get
{
Vector3 vector;
this.INTERNAL_get_center(out vector);
return vector;
}
set
{
this.INTERNAL_set_center(ref value);
}
}
// Token: 0x06000C22 RID: 3106
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
private extern void INTERNAL_get_center(out Vector3 value);
// Token: 0x06000C23 RID: 3107
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
private extern void INTERNAL_set_center(ref Vector3 value);
// Token: 0x170002B6 RID: 694
// (get) Token: 0x06000C24 RID: 3108
// (set) Token: 0x06000C25 RID: 3109
public extern float nearClipPlane
{
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
get;
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
set;
}
// Token: 0x170002B7 RID: 695
// (get) Token: 0x06000C26 RID: 3110
// (set) Token: 0x06000C27 RID: 3111
public extern float farClipPlane
{
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
get;
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
set;
}
// Token: 0x170002B8 RID: 696
// (get) Token: 0x06000C28 RID: 3112
// (set) Token: 0x06000C29 RID: 3113
public extern float shadowDistance
{
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
get;
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
set;
}
// Token: 0x170002B9 RID: 697
// (get) Token: 0x06000C2A RID: 3114
// (set) Token: 0x06000C2B RID: 3115
public extern int resolution
{
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
get;
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
set;
}
// Token: 0x170002BA RID: 698
// (get) Token: 0x06000C2C RID: 3116
// (set) Token: 0x06000C2D RID: 3117
public extern int cullingMask
{
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
get;
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
set;
}
// Token: 0x170002BB RID: 699
// (get) Token: 0x06000C2E RID: 3118
// (set) Token: 0x06000C2F RID: 3119
public extern ReflectionProbeClearFlags clearFlags
{
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
get;
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
set;
}
// Token: 0x170002BC RID: 700
// (get) Token: 0x06000C30 RID: 3120 RVA: 0x000114D8 File Offset: 0x0000F6D8
// (set) Token: 0x06000C31 RID: 3121 RVA: 0x000114F8 File Offset: 0x0000F6F8
public Color backgroundColor
{
get
{
Color color;
this.INTERNAL_get_backgroundColor(out color);
return color;
}
set
{
this.INTERNAL_set_backgroundColor(ref value);
}
}
// Token: 0x06000C32 RID: 3122
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
private extern void INTERNAL_get_backgroundColor(out Color value);
// Token: 0x06000C33 RID: 3123
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
private extern void INTERNAL_set_backgroundColor(ref Color value);
// Token: 0x170002BD RID: 701
// (get) Token: 0x06000C34 RID: 3124
// (set) Token: 0x06000C35 RID: 3125
public extern float intensity
{
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
get;
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
set;
}
// Token: 0x170002BE RID: 702
// (get) Token: 0x06000C36 RID: 3126
// (set) Token: 0x06000C37 RID: 3127
public extern float blendDistance
{
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
get;
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
set;
}
// Token: 0x170002BF RID: 703
// (get) Token: 0x06000C38 RID: 3128
// (set) Token: 0x06000C39 RID: 3129
public extern bool boxProjection
{
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
get;
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
set;
}
// Token: 0x170002C0 RID: 704
// (get) Token: 0x06000C3A RID: 3130 RVA: 0x00011504 File Offset: 0x0000F704
public Bounds bounds
{
get
{
Bounds bounds;
this.INTERNAL_get_bounds(out bounds);
return bounds;
}
}
// Token: 0x06000C3B RID: 3131
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
private extern void INTERNAL_get_bounds(out Bounds value);
// Token: 0x170002C1 RID: 705
// (get) Token: 0x06000C3C RID: 3132
// (set) Token: 0x06000C3D RID: 3133
public extern ReflectionProbeMode mode
{
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
get;
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
set;
}
// Token: 0x170002C2 RID: 706
// (get) Token: 0x06000C3E RID: 3134
// (set) Token: 0x06000C3F RID: 3135
public extern int importance
{
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
get;
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
set;
}
// Token: 0x170002C3 RID: 707
// (get) Token: 0x06000C40 RID: 3136
// (set) Token: 0x06000C41 RID: 3137
public extern ReflectionProbeRefreshMode refreshMode
{
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
get;
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
set;
}
// Token: 0x170002C4 RID: 708
// (get) Token: 0x06000C42 RID: 3138
// (set) Token: 0x06000C43 RID: 3139
public extern ReflectionProbeTimeSlicingMode timeSlicingMode
{
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
get;
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
set;
}
// Token: 0x170002C5 RID: 709
// (get) Token: 0x06000C44 RID: 3140
// (set) Token: 0x06000C45 RID: 3141
public extern Texture bakedTexture
{
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
get;
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
set;
}
// Token: 0x170002C6 RID: 710
// (get) Token: 0x06000C46 RID: 3142
// (set) Token: 0x06000C47 RID: 3143
public extern Texture customBakedTexture
{
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
get;
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
set;
}
// Token: 0x170002C7 RID: 711
// (get) Token: 0x06000C48 RID: 3144
public extern Texture texture
{
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
get;
}
// Token: 0x170002C8 RID: 712
// (get) Token: 0x06000C49 RID: 3145 RVA: 0x00011524 File Offset: 0x0000F724
public Vector4 textureHDRDecodeValues
{
get
{
Vector4 vector;
this.INTERNAL_get_textureHDRDecodeValues(out vector);
return vector;
}
}
// Token: 0x06000C4A RID: 3146
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
private extern void INTERNAL_get_textureHDRDecodeValues(out Vector4 value);
// Token: 0x06000C4B RID: 3147
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
public extern int RenderProbe([DefaultValue("null")] RenderTexture targetTexture);
// Token: 0x06000C4C RID: 3148 RVA: 0x00011544 File Offset: 0x0000F744
[ExcludeFromDocs]
public int RenderProbe()
{
RenderTexture renderTexture = null;
return this.RenderProbe(renderTexture);
}
// Token: 0x06000C4D RID: 3149
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
public extern bool IsFinishedRendering(int renderId);
// Token: 0x06000C4E RID: 3150
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
public static extern bool BlendCubemap(Texture src, Texture dst, float blend, RenderTexture target);
// Token: 0x170002C9 RID: 713
// (get) Token: 0x06000C4F RID: 3151
public static extern int minBakedCubemapResolution
{
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
get;
}
// Token: 0x170002CA RID: 714
// (get) Token: 0x06000C50 RID: 3152
public static extern int maxBakedCubemapResolution
{
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
get;
}
// Token: 0x170002CB RID: 715
// (get) Token: 0x06000C51 RID: 3153 RVA: 0x00011564 File Offset: 0x0000F764
public static Vector4 defaultTextureHDRDecodeValues
{
get
{
Vector4 vector;
ReflectionProbe.INTERNAL_get_defaultTextureHDRDecodeValues(out vector);
return vector;
}
}
// Token: 0x06000C52 RID: 3154
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
private static extern void INTERNAL_get_defaultTextureHDRDecodeValues(out Vector4 value);
// Token: 0x170002CC RID: 716
// (get) Token: 0x06000C53 RID: 3155
public static extern Texture defaultTexture
{
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
get;
}
}
}