Recalculates the sprite sprite world coordinates to the local coordinates (of this sprite).

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

Syntax

C#
public Vector3 GetLocalPosition(
	XSprite sprite
)

Parameters

sprite
Type: SGP.XSpace..::.XSprite
Sprite defining the world coordinates.

Return Value

Returns recalculated local coordinate.

Exceptions

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

See Also