Click or drag to resize
SoCallbackActionGetTextureImage Method (SbVec2s, Int32)

Note: This API is now obsolete.

Returns texture information from the state.

Namespace: OIV.Inventor.Actions
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2023.1.3.0 (2023.1.3)
Syntax
[ObsoleteAttribute("Obsolete since Open Inventor 9400. Use a SbVec2i32 as the size parameter since a short can overflow.")]
[EditorBrowsableAttribute(EditorBrowsableState.Never)]
public SbNativeArray<byte> GetTextureImage(
	out SbVec2s size,
	out int numComps
)

Parameters

size
Type: OIV.InventorSbVec2s
numComps
Type: SystemInt32

Return Value

Type: SbNativeArrayByte
Remarks

OIV.Inventor.Actions.SoCallbackAction.GetTextureImage(OIV.Inventor.SbVec2i32@, System.Int32@) returns NULL if no texture is enabled.

Caution note Caution

Obsolete since Open Inventor 9400. Use a OIV.Inventor.SbVec2i32 as the size parameter since a short can overflow.

See Also