Table of Contents

Delegate vdDocument.DrawSceneEventHandler

Namespace
VectorDraw.Professional.vdObjects
Assembly
VectorDraw.Professional.dll

Represents the method that will override the draw of the entire scene.

public delegate void vdDocument.DrawSceneEventHandler(object sender, vdRender render, vdEntities entities, vdSectionClips sections, vdLights lights, bool FireMeterProgress, ref vdRender.DrawStatus status, ref bool cancel)

Parameters

sender object

The active vdDocument object.

render vdRender

The vdRender object where all objects where drawn.

entities vdEntities

A collection of vdFigure to be drawn.

sections vdSectionClips

A collection of vdSectionClip to be applied or null.

lights vdLights

A collection of vdLight to be applied or null.

FireMeterProgress bool

A boolean value that defines if the progress meter can be Raised OnProgress

status vdRender.DrawStatus

Returns a rendering status code.

cancel bool

Set this as true in order not to run the default VectorDraw code.

Constructors

DrawSceneEventHandler(object, IntPtr)

Methods

BeginInvoke(object, vdRender, vdEntities, vdSectionClips, vdLights, bool, ref DrawStatus, ref bool, AsyncCallback, object)
EndInvoke(ref DrawStatus, ref bool, IAsyncResult)
Invoke(object, vdRender, vdEntities, vdSectionClips, vdLights, bool, ref DrawStatus, ref bool)