SoTextureImageElementSet Method |
Pass texname = -1 to deactivate subtexturing.
Namespace: OIV.Inventor.ElementsAssembly: OIV.Inventor (in OIV.Inventor.dll) Version: 10.12.3.0 (10.12.3.0)
Syntax 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
Parameters
- state
- Type: OIV.Inventor.MiscSoState
- node
- Type: OIV.Inventor.NodesSoNode
- subSize
- Type: OIV.InventorSbVec2i32
- xoffset
- Type: SystemInt32
- yoffset
- Type: SystemInt32
- buffer
- Type: OIV.Inventor.GenericSbNativeArrayByte
- texname
- Type: SystemInt32
Remarks Subtexturing not active by default. In any case, the regular set method must be called.
See Also