bool Bloom { get; set; }

book_4_sparkGenerated
code_blocksInput

Description

The Bloom property of the RenderOptions class is a boolean value that determines whether the bloom effect is applied during rendering. Bloom is a post-processing effect that simulates the way light bleeds around bright areas in a scene, creating a glow effect.

Usage

To enable or disable the bloom effect in your scene, set the Bloom property to true or false respectively. This property is part of the RenderOptions class, which can be applied to a SceneObject to control various rendering options.

Example

// Example of enabling bloom effect in a scene
RenderOptions renderOptions = new RenderOptions();
renderOptions.Bloom = true;

// Apply the render options to a scene object
SceneObject mySceneObject = new SceneObject();
renderOptions.Apply(mySceneObject);