SoTextureImageElementSet Method (SoState, SoNode, SbVec2i32, Int32, Int32, SbNativeArrayByte, Int32) |
Pass texname = -1 to deactivate subtexturing.
Namespace: OIV.Inventor.Elements
public static void Set( SoState state, SoNode node, SbVec2i32 subSize, int xoffset, int yoffset, SbNativeArray<byte> buffer, int texname )
Public Shared Sub Set ( state As SoState, node As SoNode, subSize As SbVec2i32, xoffset As Integer, yoffset As Integer, buffer As SbNativeArray(Of Byte), texname As Integer )
public: static void Set( SoState^ state, SoNode^ node, SbVec2i32 subSize, int xoffset, int yoffset, SbNativeArray<unsigned char>^ buffer, int texname )
static member Set : state : SoState * node : SoNode * subSize : SbVec2i32 * xoffset : int * yoffset : int * buffer : SbNativeArray<byte> * texname : int -> unit
Subtexturing not active by default. In any case, the regular set method must be called.