Description
The EffectsTranslucent
field is a member of the SceneLayerType
enumeration in the Sandbox namespace. It represents a rendering layer used for translucent effects on a 1/4 texture. This layer is typically used to render effects that require translucency, such as glass or water, where the rendering order and blending are crucial for visual accuracy.
Usage
Use SceneLayerType.EffectsTranslucent
when you need to render translucent effects in your scene. This is particularly useful for effects that need to be rendered with a specific order and blending mode to achieve the desired visual outcome.
Example
// Example of using SceneLayerType.EffectsTranslucent
Scene myScene = new Scene();
// Add a translucent effect component to the scene
var translucentEffect = new TranslucentEffectComponent();
translucentEffect.LayerType = SceneLayerType.EffectsTranslucent;
myScene.AddComponent(translucentEffect);