Attaches the controller to the view.

Namespace:  SGP.XSpace
Assembly:  SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825

Syntax

C#
[EditorBrowsableAttribute(EditorBrowsableState.Advanced)]
protected void Attach(
	XCameraViewport viewport
)

Parameters

viewport
Type: SGP.XSpace..::.XCameraViewport
A viewport, the controller will be attach to.

Exceptions

ExceptionCondition
System..::.ArgumentNullException viewport is nullNothingnullptra null reference (Nothing in Visual Basic).

See Also