Reflection Probe Default Texture#
Rendering / Reflection Probe / Reflection Probe Default Texture
Can Read
Cannot Write
Description#
The Default Texture static property of the Reflection Probe class
Code#
// <auto-generated>
// This script was automatically generated using the Visual Script Transpiler.
// Do not modify. Changes to this file will be lost when updating the package.
// </auto-generated>
using System;
using UnityEngine;
using VisualScript.Icons;
using UnityEngine.Rendering;
namespace VisualScript.Runtime
{
[Get]
[Title("Reflection Probe Default Texture")]
[Category("Rendering/Reflection Probe/Default Texture")]
[Description("The Default Texture static property of the Reflection Probe class")]
[Image(typeof(IconReflectionProbe), ColorTheme.Type.Blue)]
[Serializable]
public class GenTypeTexture_ReflectionProbe_DefaultTexture : TypeTexture
{
public override Texture GetPreview(GameObject source)
{
return ReflectionProbe.defaultTexture;
}
public override Texture Get(Args args)
{
return ReflectionProbe.defaultTexture;
}
public override string ToString()
{
return $"Reflection Probe Default Texture";
}
protected override SubscriptionMode Subscription => SubscriptionMode.OnChange;
}
}