Turns towards the sprite sprite.
Namespace:
SGP.XSpaceAssembly: SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825
Syntax
| C# |
|---|
public void PointAt( XSprite sprite, Vector3 spritePosition ) |
Parameters
- sprite
- Type: SGP.XSpace..::.XSprite
Sprite to that this sprite will be turned to.
- spritePosition
- Type: Vector3
Offset in the local coordinates of the XSprite sprite pointed at.
Exceptions
| Exception | Condition |
|---|---|
| System..::.ArgumentNullException | sprite is nullNothingnullptra null reference (Nothing in Visual Basic). |