SoSFImage3GetSubTexture Method |
Returns a buffer to a given subTexture set by setSubValue or setSubValues.
Namespace: OIV.Inventor.FieldsAssembly: OIV.Inventor (in OIV.Inventor.dll) Version: 9.9.13.0 (9.9.13.0)
Syntaxpublic SbNativeArray<byte> GetSubTexture(
int index,
out SbVec3s size,
out SbVec3s offset
)
Public Function GetSubTexture (
index As Integer,
<OutAttribute> ByRef size As SbVec3s,
<OutAttribute> ByRef offset As SbVec3s
) As SbNativeArray(Of Byte)
public:
SbNativeArray<unsigned char>^ GetSubTexture(
int index,
[OutAttribute] SbVec3s% size,
[OutAttribute] SbVec3s% offset
)
member GetSubTexture :
index : int *
size : SbVec3s byref *
offset : SbVec3s byref -> SbNativeArray<byte>
Parameters
- index
- Type: SystemInt32
- size
- Type: OIV.InventorSbVec3s
- offset
- Type: OIV.InventorSbVec3s
Return Value
Type:
SbNativeArrayByte
RemarksThese two 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.
See Also