SbNativeArrayT Conversion (SbNativeArrayT to SbNativeArraySbColorRGBA) |
Explicit cast operator to convert an native array of
T to a
native array of
SbColorRGBA.
Namespace: OIV.Inventor.GenericAssembly: OIV.Inventor.SbLinear (in OIV.Inventor.SbLinear.dll) Version: 2024.2.2.Release.778f4cc64de03c89c1282c66aa1f73c0e9a1408b
Syntax public static explicit operator SbNativeArray<SbColorRGBA> (
SbNativeArray<T> toCast
)
Public Shared Narrowing Operator CType (
toCast As SbNativeArray(Of T)
) As SbNativeArray(Of SbColorRGBA)
static explicit operator SbNativeArray<SbColorRGBA>^ (
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:
SbNativeArraySbColorRGBAAn instance of SbNativeArray<SbColorRGBA>.
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