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: 10.12.3.0 (10.12.3.0)
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