Converts the 3D world coordinates to view coordinates at which the world is projected.

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

Syntax

C#
public Point Convert3DTo2D(
	XSprite sprite
)

Parameters

sprite
Type: SGP.XSpace..::.XSprite
Sprite XSprite of which world coordinates to convert to the view coordinates.

Return Value

Returns the view coordinates.

Exceptions

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

See Also