Click or drag to resize
SoSFImageGetSubTexture Method (Int32, SbVec2s, SbVec2s, SoSFImageDataTypes)

Returns a buffer of a given subTexture set by setSubValue() or setSubValues().

Namespace: OIV.Inventor.Fields
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 9.9.36.0 (9.9.36.0)
Syntax
public SbNativeArray<byte> GetSubTexture(
	int index,
	out SbVec2s size,
	out SbVec2s offset,
	out SoSFImageDataTypes dataType
)

Parameters

index
Type: SystemInt32
size
Type: OIV.InventorSbVec2s
offset
Type: OIV.InventorSbVec2s
dataType
Type: OIV.Inventor.FieldsSoSFImageDataTypes

Return Value

Type: SbNativeArrayByte
Remarks

These two methods append subTextures to a list. Also returns the size of the subtexture and the offset from the beginning of the image of the requested subImage.

See Also