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