Click or drag to resize
SoSFImage3GetValue Method (SbVec3s, Int32)

Returns the pixels in the image as an array of unsigned chars.

Namespace: OIV.Inventor.Fields
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2023.1.3.0 (2023.1.3)
Syntax
public SbNativeArray<byte> GetValue(
	out SbVec3s size,
	out int nc
)

Parameters

size
Type: OIV.InventorSbVec3s
nc
Type: SystemInt32

Return Value

Type: SbNativeArrayByte
Remarks

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