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

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: 10.12.3.0 (10.12.3.0)
Syntax
public SbNativeArray<byte> GetSubTexture(
	int index,
	out SbVec3s size,
	out SbVec3s offset
)

Parameters

index
Type: SystemInt32
size
Type: OIV.InventorSbVec3s
offset
Type: OIV.InventorSbVec3s

Return Value

Type: SbNativeArrayByte
Remarks

These 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. This is a convenience method for the unsigned char datatype.

See Also