Finds the given declaration in the vertex coordinates format declarator (VertexElement).
Namespace:
SGP.XSpaceAssembly: SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825
Syntax
| C# |
|---|
[EditorBrowsableAttribute(EditorBrowsableState.Advanced)] public static int FindVertexFormatElement( VertexElement[] declarator, DeclarationUsage usage ) |
Parameters
- declarator
- Type: array<
VertexElement
>[]()[]
Vertex format declarator - vertex coordinate items array.
- usage
- Type: DeclarationUsage
Item usage.
Return Value
Index of the item found in the declarator array, or -1 otherwise.
Exceptions
| Exception | Condition |
|---|---|
| System..::.ArgumentNullException | declarator is nullNothingnullptra null reference (Nothing in Visual Basic). |