Click or drag to resize
SoMPEGRendererSetSize Method

Sets the frame pixel size.

Namespace: OIV.Inventor.MPEG
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2024.2.2.0 (10.16.2.0)
Syntax
public void SetSize(
	SbVec2s size
)

Parameters

size
Type: OIV.InventorSbVec2s
Remarks

The width and height of the frame must be a multiple of 16. If they are not, they are reduced to the next lower multiple of 16.

By default, width and height values are 96.

NOTE: This method must be called before OIV.Inventor.MPEG.SoMPEGRenderer.OpenFile(System.String, System.UInt32) or () in order to have an effect. Calling it after calling OIV.Inventor.MPEG.SoMPEGRenderer.OpenFile(System.String, System.UInt32) or () may cause undesirable results.

See Also