Class ReflectionProbe
Inheritance
ReflectionProbe
Assembly: UnityEngine.dll
Syntax
public sealed class ReflectionProbe : Behaviour
Properties
backgroundColor
Declaration
public Color backgroundColor { get; set; }
Property Value
bakedTexture
Declaration
public Texture bakedTexture { get; set; }
Property Value
blendDistance
Declaration
public float blendDistance { get; set; }
Property Value
bounds
Declaration
public Bounds bounds { get; }
Property Value
boxProjection
Declaration
public bool boxProjection { get; set; }
Property Value
center
Declaration
public Vector3 center { get; set; }
Property Value
clearFlags
Declaration
public ReflectionProbeClearFlags clearFlags { get; set; }
Property Value
cullingMask
Declaration
public int cullingMask { get; set; }
Property Value
customBakedTexture
Declaration
public Texture customBakedTexture { get; set; }
Property Value
defaultTexture
Declaration
public static Texture defaultTexture { get; }
Property Value
defaultTextureHDRDecodeValues
Declaration
public static Vector4 defaultTextureHDRDecodeValues { get; }
Property Value
farClipPlane
Declaration
public float farClipPlane { get; set; }
Property Value
hdr
Declaration
public bool hdr { get; set; }
Property Value
importance
Declaration
public int importance { get; set; }
Property Value
intensity
Declaration
public float intensity { get; set; }
Property Value
maxBakedCubemapResolution
Declaration
public static int maxBakedCubemapResolution { get; }
Property Value
minBakedCubemapResolution
Declaration
public static int minBakedCubemapResolution { get; }
Property Value
mode
Declaration
public ReflectionProbeMode mode { get; set; }
Property Value
nearClipPlane
Declaration
public float nearClipPlane { get; set; }
Property Value
realtimeTexture
Declaration
public RenderTexture realtimeTexture { get; set; }
Property Value
refreshMode
Declaration
public ReflectionProbeRefreshMode refreshMode { get; set; }
Property Value
resolution
Declaration
public int resolution { get; set; }
Property Value
shadowDistance
Declaration
public float shadowDistance { get; set; }
Property Value
size
Declaration
public Vector3 size { get; set; }
Property Value
texture
Declaration
public Texture texture { get; }
Property Value
textureHDRDecodeValues
Declaration
public Vector4 textureHDRDecodeValues { get; }
Property Value
timeSlicingMode
Declaration
public ReflectionProbeTimeSlicingMode timeSlicingMode { get; set; }
Property Value
Methods
BlendCubemap(Texture, Texture, Single, RenderTexture)
Declaration
public static bool BlendCubemap(Texture src, Texture dst, float blend, RenderTexture target)
Parameters
Returns
IsFinishedRendering(Int32)
Declaration
public bool IsFinishedRendering(int renderId)
Parameters
Type |
Name |
Description |
Int32 |
renderId |
|
Returns
|
Improve this Doc
View Source
RenderProbe()
Declaration
Returns
|
Improve this Doc
View Source
RenderProbe(RenderTexture)
Declaration
public int RenderProbe([DefaultValue("null")] RenderTexture targetTexture)
Parameters
Returns
Reset()
Declaration
Events
|
Improve this Doc
View Source
defaultReflectionSet
Declaration
public static event Action<Cubemap> defaultReflectionSet
Event Type
|
Improve this Doc
View Source
reflectionProbeChanged
Declaration
public static event Action<ReflectionProbe, ReflectionProbe.ReflectionProbeEvent> reflectionProbeChanged
Event Type
Extension Methods