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

Returns a buffer of a given subTexture set by (), () or a OIV.Inventor.Fields.SoSFImage.StartEditing(OIV.Inventor.SbVec2s@, 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 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 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