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.FieldsAssembly: OIV.Inventor (in OIV.Inventor.dll) Version: 10.12.3.0 (10.12.3.0)
Syntax public SbNativeArray<byte> GetSubTexture(
int index,
out SbVec3i32 size,
out SbVec3i32 offset,
out SoSFImageDataTypes dataType
)
Public Function GetSubTexture (
index As Integer,
<OutAttribute> ByRef size As SbVec3i32,
<OutAttribute> ByRef offset As SbVec3i32,
<OutAttribute> ByRef dataType As SoSFImageDataTypes
) As SbNativeArray(Of Byte)
public:
SbNativeArray<unsigned char>^ GetSubTexture(
int index,
[OutAttribute] SbVec3i32% size,
[OutAttribute] SbVec3i32% offset,
[OutAttribute] SoSFImageDataTypes% dataType
)
member GetSubTexture :
index : int *
size : SbVec3i32 byref *
offset : SbVec3i32 byref *
dataType : SoSFImageDataTypes byref -> SbNativeArray<byte>
Parameters
- index
- Type: SystemInt32
- size
- Type: OIV.InventorSbVec3i32
- offset
- Type: OIV.InventorSbVec3i32
- dataType
- Type: OIV.Inventor.FieldsSoSFImageDataTypes
Return Value
Type:
SbNativeArrayByteRemarks 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