SoCallbackActionGetTextureImage Method (SbVec2i32, Int32) |
Returns texture information from the state.
Namespace: OIV.Inventor.ActionsAssembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2024.2.2.0 (10.16.2.0)
Syntax public SbNativeArray<byte> GetTextureImage(
out SbVec2i32 size,
out int numComps
)
Public Function GetTextureImage (
<OutAttribute> ByRef size As SbVec2i32,
<OutAttribute> ByRef numComps As Integer
) As SbNativeArray(Of Byte)
public:
SbNativeArray<unsigned char>^ GetTextureImage(
[OutAttribute] SbVec2i32% size,
[OutAttribute] int% numComps
)
member GetTextureImage :
size : SbVec2i32 byref *
numComps : int byref -> SbNativeArray<byte>
Parameters
- size
- Type: OIV.InventorSbVec2i32
- numComps
- Type: SystemInt32
Return Value
Type:
SbNativeArrayByteRemarks OIV.Inventor.Actions.SoCallbackAction.GetTextureImage(OIV.Inventor.SbVec2i32@, System.Int32@) returns NULL if no texture is enabled.
See Also