void RenderEffect( SceneCamera camera )

book_4_sparkGenerated
code_blocksInput

Description

The RenderEffect method is a part of the Sandbox.Highlight class, which is used to apply a highlighting effect to objects within a scene. This method is specifically designed to be used with a SceneCamera to render the highlight effect on objects that are visible through the camera.

Usage

To use the RenderEffect method, you need to have an instance of the Highlight class attached to a camera. This method is called to apply the highlight effect during the rendering process. It requires a SceneCamera object as a parameter, which represents the camera through which the scene is being viewed.

Example

// Assuming 'highlight' is an instance of Sandbox.Highlight
// and 'camera' is an instance of Sandbox.SceneCamera
highlight.RenderEffect(camera);