SoSFImage3GetValue Method (SbVec3s, Int32) |
Returns the pixels in the image as an array of unsigned chars.
Namespace: OIV.Inventor.FieldsAssembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2024.2.2.0 (10.16.2.0)
Syntax public SbNativeArray<byte> GetValue(
out SbVec3s size,
out int nc
)
Public Function GetValue (
<OutAttribute> ByRef size As SbVec3s,
<OutAttribute> ByRef nc As Integer
) As SbNativeArray(Of Byte)
public:
SbNativeArray<unsigned char>^ GetValue(
[OutAttribute] SbVec3s% size,
[OutAttribute] int% nc
)
member GetValue :
size : SbVec3s byref *
nc : int byref -> SbNativeArray<byte>
Parameters
- size
- Type: OIV.InventorSbVec3s
- nc
- Type: SystemInt32
Return Value
Type:
SbNativeArrayByteRemarks The size and nc arguments are filled in with the dimensions of the image and the number of components in the image; the number of bytes in the array returned will be size [0]* size [1]* size [2]* nc *sizeof(<dataType>).
This is a convenience method for the unsigned char datatype.
See Also