Creates new XPrimitiveSprite class instance using the specified vertices and material.
Namespace:
SGP.XSpaceAssembly: SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825
Syntax
Parameters
- strip
- Type: System..::.Boolean
Defines whether the vector array is in the form of a strip.
- vertices
- Type: array<
Vector3
>[]()[]
Vertices of the new primitive.
- material
- Type: SGP.XSpace..::.XMaterial
The XMaterial material used for primitive rendering.
Exceptions
Exception | Condition |
---|---|
System..::.ArgumentNullException | vertices is nullNothingnullptra null reference (Nothing in Visual Basic). |