Click or drag to resize
SoSFImage3SetValue Method (SbVec3s, Int32, Byte, SoSFImage3CopyPolicies)

setValue copies the image given to it into internal storage.

Namespace: OIV.Inventor.Fields
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 9.9.13.0 (9.9.13.0)
Syntax
public void SetValue(
	SbVec3s size,
	int nc,
	byte[] bytes,
	SoSFImage3CopyPolicies copy
)

Parameters

size
Type: OIV.InventorSbVec3s
nc
Type: SystemInt32
bytes
Type: SystemByte
copy
Type: OIV.Inventor.FieldsSoSFImage3CopyPolicies
Remarks

See startEditing() for a way of avoiding the copy if you are doing a getValue() followed immediately by a setValue(). Set 'copy' to NO_COPYto pass directly the the image buffer. Otherwise, the buffer 'bytes' will be copied. If a NULL buffer is passed, a new bloc is allocated according to the size and the number of components.

See Also