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: 2024.1.1.0 (2024.1.1)
Syntax
[EditorBrowsableAttribute(EditorBrowsableState.Never)]
[ObsoleteAttribute("Obsolete since Open Inventor 9.4.0.0. Use a SbVec2i32 as the size parameter since a short can overflow.")]
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