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

Returns a buffer to a given subTexture set by setSubValue, setSubValues, or a OIV.Inventor.Fields.SoSFImage3.StartEditing(OIV.Inventor.SbVec3i32@, System.Int32@, OIV.Inventor.Fields.SoSFImage.DataTypes@)/finishEditing() pair.

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

Parameters

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

Return Value

Type: SbNativeArrayByte
Remarks

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

See Also