# IScenePreviewPart Struct Reference
[Shell Interfaces]

Interface for a generic scene preview. More...

Inheritance diagram for IScenePreviewPart:

List of all members.

## Public Types
enum | ERenderingMode { kRaytracing, kZBuffer }
## Public Member Functions
virtual void MCCOMAPI | SetScene (I3DShScene *scene)=0
virtual void MCCOMAPI | RenderScene (boolean synchronous=false)=0
virtual void MCCOMAPI | AbortRendering ()=0
virtual void MCCOMAPI | SetRenderingMode (ERenderingMode renderingMode)=0
virtual void MCCOMAPI | ClearRender ()=0

## Detailed Description

Interface for a generic scene preview.

## Member Enumeration Documentation

enum IScenePreviewPart::ERenderingMode

Enumerator:

  kRaytracing |
  kZBuffer |

## Member Function Documentation

virtual void MCCOMAPI IScenePreviewPart::AbortRendering | ( |  | ) | `[pure virtual]`

Abirts the current rendering

virtual void MCCOMAPI IScenePreviewPart::ClearRender | ( |  | ) | `[pure virtual]`

Invalites the rendering

virtual void MCCOMAPI IScenePreviewPart::RenderScene | ( | boolean | synchronous = `false` | ) | `[pure virtual]`

Render the preview.

virtual void MCCOMAPI IScenePreviewPart::SetRenderingMode | ( | ERenderingMode | renderingMode | ) | `[pure virtual]`

Sets the rendering mode used for the preview

Parameters:

  | renderingMode | The mode: Raytracing or ZBuffer.

virtual void MCCOMAPI IScenePreviewPart::SetScene | ( | I3DShScene * | scene | ) | `[pure virtual]`

Sets the scene to be rendered

Parameters:

  | scene | Pointer to the scene to render

The documentation for this struct was generated from the following file:

- IScenePreviewPart.h