Class ILookatControl

3DS Max Plug-In SDK

Class ILookatControl

See Also: Class Control.

class ILookatControl : public Control

Description:

This class is available in release 2.0 and later only.

This class provides access to the LookAt Controller parameters.

Developers may use the following values to access the references of the Look At controller.

LOOKAT_TARGET_REF

LOOKAT_POS_REF

LOOKAT_ROLL_REF

LOOKAT_SCL_REF

All methods of this class are implemented by the system.

Methods:

Prototype:

virtual void SetFlip(BOOL f)=0;

Remarks:

Sets the flip setting.

Parameters:

BOOL f

TRUE for on; FALSE for off.

Prototype:

virtual BOOL GetFlip()=0;

Remarks:

Returns the state of the flip setting. TRUE if on; FALSE if off.

Prototype:

virtual void SetAxis(int a)=0;

Remarks:

Sets the axis setting.

Parameters:

int a

One of the following values:

0: X axis.

1: Y axis.

2: Z axis.

Prototype:

virtual int GetAxis()=0;

Remarks:

Returns the axis setting.

Return Value:

One of the following values:

0: X axis.

1: Y axis.

2: Z axis.