TextureCoordinate4DF Constructor (Single, Int32) |
Initializes a set of
TextureCoordinate4DF coordinates from four consecutive elements in the provided array.
Namespace:
AGI.Foundation.Coordinates
Assembly:
AGI.Foundation.Graphics (in AGI.Foundation.Graphics.dll) Version: 22.1.413.0 (22.1.413.0)
Syntaxpublic TextureCoordinate4DF(
float[] elements,
int startIndex
)
Public Sub New (
elements As Single(),
startIndex As Integer
)
public:
TextureCoordinate4DF(
array<float>^ elements,
int startIndex
)
new :
elements : float32[] *
startIndex : int -> TextureCoordinate4DF
Parameters
- elements
- Type: SystemSingle
The array of coordinate values. - startIndex
- Type: SystemInt32
The index of the first element in the array to use.
ExceptionsException | Condition |
---|
ArgumentNullException |
Thrown when the array of elements is .
|
ArgumentOutOfRangeException |
Thrown when an object of this type is constructed from an array with less than four elements.
|
See Also