Class FrameRange

3DS Max Plug-In SDK

Class FrameRange

See Also: Class ImageFilterInfo.

class FrameRange

Description:

This class describes a range of frames and provides methods to access the first, last, current and number of frames in the range. All methods of this class are implemented by the system.

Methods:

Prototype:

virtual int First()

Remarks:

Returns the first frame number of this range.

Prototype:

virtual int Last()

Remarks:

Returns the last frame number of this range.

Prototype:

virtual int Count()

Remarks:

Returns the number of frames in this range.

Prototype:

virtual int Current()

Remarks:

Returns the current frame of this range.

Prototype:

virtual int Elapsed()

Remarks:

Returns the elapsed time of this range.

Prototype:

virtual void SetFirst(int u)

Remarks:

Sets the first frame number for this range to the specified value.

Parameters:

int u

Specifies the new first frame number.

Prototype:

virtual void SetLast(int u)

Remarks:

Sets the last frame number for this range to the specified value.

Parameters:

int u

Specifies the new last frame number.

Prototype:

virtual void SetCurrent(int u)

Remarks:

Sets the current frame number for this range to the specified value.

Parameters:

int u

Specifies the new current frame number.