SbNativeArrayT Conversion (SbNativeArrayT to SbNativeArraySbVec2f) |
Explicit cast operator to convert an native array of
T to a
native array of
SbVec2f.
Namespace: OIV.Inventor.GenericAssembly: OIV.Inventor.SbLinear (in OIV.Inventor.SbLinear.dll) Version: 2024.2.2.Release.778f4cc64de03c89c1282c66aa1f73c0e9a1408b
Syntax public static explicit operator SbNativeArray<SbVec2f> (
SbNativeArray<T> toCast
)
Public Shared Narrowing Operator CType (
toCast As SbNativeArray(Of T)
) As SbNativeArray(Of SbVec2f)
static explicit operator SbNativeArray<SbVec2f>^ (
SbNativeArray<T>^ toCast
)
F# does not support the declaration of new casting operators.
Parameters
- toCast
- Type: OIV.Inventor.GenericSbNativeArrayT
Native array to convert.
Return Value
Type:
SbNativeArraySbVec2fAn instance of SbNativeArray<SbVec2f>.
Exceptions Exception | Condition |
---|
InvalidOperationException | If native array to cast is not well known. -or- If size are incompatible. -or- If the source array has been instanciated with a managed array. |
See Also