Click or drag to resize
SoSFImage3GetValue Method (SbVec3i32, Int32, SoSFImageDataTypes)

Returns the pixels in the image as an array of values of type <dataType>.

Namespace: OIV.Inventor.Fields
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2024.2.2.0 (10.16.2.0)
Syntax
public SbNativeArray<byte> GetValue(
	out SbVec3i32 size,
	out int nc,
	out SoSFImageDataTypes dataType
)

Parameters

size
Type: OIV.InventorSbVec3i32
nc
Type: SystemInt32
dataType
Type: OIV.Inventor.FieldsSoSFImageDataTypes

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>).

See Also