Render Settings Custom Reflection Texture#
Rendering / Render Settings / Render Settings Custom Reflection Texture
Can Read
Can Write
Description#
The Custom Reflection Texture static property of the Render Settings 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;
namespace VisualScript.Runtime
{
[Get]
[Set]
[Title("Render Settings Custom Reflection Texture")]
[Category("Rendering/Render Settings/Custom Reflection Texture")]
[Description("The Custom Reflection Texture static property of the Render Settings class")]
[Image(typeof(IconPicture), ColorTheme.Type.TextLight, typeof(BadgeSettings))]
[Keywords("Environment, Fog, Ambient, Lighting, Skybox")]
[Serializable]
public class GenTypeTexture_RenderSettings_CustomReflectionTexture : TypeTexture
{
public override Texture GetPreview(GameObject source)
{
return RenderSettings.customReflectionTexture;
}
public override Texture Get(Args args)
{
return RenderSettings.customReflectionTexture;
}
public override void Set(Texture value, Args args)
{
RenderSettings.customReflectionTexture = (Texture) value;
}
public override string ToString()
{
return $"Render Settings Custom Reflection Texture";
}
protected override SubscriptionMode Subscription => SubscriptionMode.OnChange;
}
}