3ds Max C++ API Reference
Loading...
Searching...
No Matches
Grip Value Types

Possible supported grip item types. More...

Enumerations

enum  Type {
  eInvalid = -1 , eInt = 0 , eFloat , eTime ,
  eUniverse , eCombo , eToggle , eAction ,
  eCommand , eStatus
}
 

Detailed Description

Possible supported grip item types.

The type determines it's UI representation and what types of data it represents.

Enumeration Type Documentation

◆ Type

enum Type
Enumerator
eInvalid 

The type is invalid. Usually used when trying to get a grip item which is out of range.

eInt 

This type of the grip element represents an integer, and expects a IBaseGrip::GripValue::mInt value when getting and setting values. The grip UI will be a spinner.

eFloat 

This type of the grip element represents a float, and expects a IBaseGrip::GripValue::mFloat value when getting and setting values. The grip UI will be a spinner.

eTime 

This type of the grip element represents a TimeValue, and expects a IBaseGrip::GripValue::mInt value, in the form of a tick value, when getting and setting values. The grip UI will be a spinner.

eUniverse 

This type of the grip element represents a value in world space that respects the current system settings, and expects a IBaseGrip::GripValue::mFloat value when getting and setting values. The grip UI will be a spinner.

eCombo 

This type of the grip element represents a combination of limited distinct choices, and expects a IBaseGrip::GripValue::mCombo value when getting and setting values. The UI will present the choices in a drop down menu.

eToggle 

This type of the grip element is a Boolean toggle and expects a IBaseGrip::GripValue::mbool value when getting and setting values.

eAction 

This type of grip element performs an action and doesn't support the getting and setting values.

eCommand 

This type of grip element performs a command action, which means an action that has an off state and a on state. For example a pick action, is a command action since there is a pick state that's active during the process of picking. It uses the IBaseGrip::GripValue::mbool value to determine if a mode is active or not.

eStatus 

This type of grip element just show's text and doesn't perform any actions or the getting or setting of any values.

45 {
47 eInvalid = -1,
50 eInt = 0,
53 eFloat,
56 eTime,
62 eCombo,
64 eToggle,
66 eAction,
70 eCommand ,
73 };
@ eCommand
This type of grip element performs a command action, which means an action that has an off state and ...
Definition: igrip.h:70
@ eFloat
This type of the grip element represents a float, and expects a IBaseGrip::GripValue::mFloat value wh...
Definition: igrip.h:53
@ eTime
This type of the grip element represents a TimeValue, and expects a IBaseGrip::GripValue::mInt value,...
Definition: igrip.h:56
@ eAction
This type of grip element performs an action and doesn't support the getting and setting values.
Definition: igrip.h:66
@ eStatus
This type of grip element just show's text and doesn't perform any actions or the getting or setting ...
Definition: igrip.h:72
@ eCombo
This type of the grip element represents a combination of limited distinct choices,...
Definition: igrip.h:62
@ eInvalid
The type is invalid. Usually used when trying to get a grip item which is out of range.
Definition: igrip.h:47
@ eUniverse
This type of the grip element represents a value in world space that respects the current system sett...
Definition: igrip.h:59
@ eInt
This type of the grip element represents an integer, and expects a IBaseGrip::GripValue::mInt value w...
Definition: igrip.h:50
@ eToggle
This type of the grip element is a Boolean toggle and expects a IBaseGrip::GripValue::mbool value whe...
Definition: igrip.h:64