Creates new sprite from the mesh mesh.
Namespace:
SGP.XSpaceAssembly: SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825
Syntax
Parameters
- mesh
- Type: System..::.Object
Mesh that the sprite will be created from.
Return Value
Returns newly created XSprite sprite.
Exceptions
| Exception | Condition |
|---|---|
| System..::.ArgumentNullException | mesh is nullNothingnullptra null reference (Nothing in Visual Basic). |