Table of Contents

Delegate OpenGlCustomize.SetProjectionDelegate

Namespace
CADability
Assembly
CADability.dll

Delegate definition of SetProjectionEvent.

public delegate void OpenGlCustomize.SetProjectionDelegate(nint renderContext, IPaintTo3D paintTo3D, Projection projection, BoundingCube boundingCube)

Parameters

renderContext nint

The OpenGL render context

paintTo3D IPaintTo3D

The IPaintTo3D interface of the instance beeing involved

projection Projection

The projetion that has been set

boundingCube BoundingCube

The bounding cube for the display

Constructors

SetProjectionDelegate(object, nint)

public SetProjectionDelegate(object @object, nint method)

Parameters

object object
method nint

Methods

BeginInvoke(nint, IPaintTo3D, Projection, BoundingCube, AsyncCallback, object)

public virtual IAsyncResult BeginInvoke(nint renderContext, IPaintTo3D paintTo3D, Projection projection, BoundingCube boundingCube, AsyncCallback callback, object @object)

Parameters

renderContext nint
paintTo3D IPaintTo3D
projection Projection
boundingCube BoundingCube
callback AsyncCallback
object object

Returns

IAsyncResult

EndInvoke(IAsyncResult)

public virtual void EndInvoke(IAsyncResult result)

Parameters

result IAsyncResult

Invoke(nint, IPaintTo3D, Projection, BoundingCube)

public virtual void Invoke(nint renderContext, IPaintTo3D paintTo3D, Projection projection, BoundingCube boundingCube)

Parameters

renderContext nint
paintTo3D IPaintTo3D
projection Projection
boundingCube BoundingCube