Click or drag to resize

RenderPickerSurfacePickSurface Method

Picks the surface at a given pixel position.

Namespace:  Lumiscaphe.Workshop.Interop
Assembly:  Lumiscaphe.Workshop.Interop (in Lumiscaphe.Workshop.Interop.dll) Version: 21.1.16.0
Syntax
public static RenderPickerPickSurface PickSurface(
	RenderSceneManager manager,
	SceneGuid scene,
	RenderSnapshot snapshot,
	RenderRendererParameters rendererParameters,
	RenderPosition position,
	RenderPickerBuffer pickBuffer
)

Parameters

manager
Type: Lumiscaphe.Workshop.InteropRenderSceneManager
The scene manager.
scene
Type: Lumiscaphe.Workshop.InteropSceneGuid
The scene identifier.
snapshot
Type: Lumiscaphe.Workshop.InteropRenderSnapshot
The rendering snapshot.
rendererParameters
Type: Lumiscaphe.Workshop.InteropRenderRendererParameters
The renderer parameters.
position
Type: Lumiscaphe.Workshop.InteropRenderPosition
The pixel position.
pickBuffer
Type: Lumiscaphe.Workshop.InteropRenderPickerBuffer
The pick buffer.

Return Value

Type: RenderPickerPickSurface
The picked surface if a surface exists under position; otherwise, null.
Exceptions
ExceptionCondition
ObjectNullExceptionmanager == null, rendererParameters == null, pickBuffer == null
ObjectDestroyedExceptionRenderSceneManager::IsDestroyed == true, RenderPickerBuffer::IsDestroyed == true
ObjectDisposedExceptionRenderRendererParameters::IsDisposed == true
Version Information

Lumiscaphe Workshop SDK

Supported in: 7.0 release 1
See Also