36 lines
1.1 KiB
Plaintext
36 lines
1.1 KiB
Plaintext
// Filename: pointShapeTransition.I
|
|
// Created by: charles (11Jul00)
|
|
//
|
|
////////////////////////////////////////////////////////////////////
|
|
|
|
////////////////////////////////////////////////////////////////////
|
|
// Function: PointShapeTransition
|
|
// Access: Public
|
|
// Description:
|
|
////////////////////////////////////////////////////////////////////
|
|
INLINE PointShapeTransition::
|
|
PointShapeTransition(PointShapeProperty::Mode mode) :
|
|
_value(mode) {
|
|
}
|
|
|
|
////////////////////////////////////////////////////////////////////
|
|
// Function: set_mode
|
|
// Access: Public
|
|
// Description:
|
|
////////////////////////////////////////////////////////////////////
|
|
INLINE void PointShapeTransition::
|
|
set_mode(PointShapeProperty::Mode mode) {
|
|
_value.set_mode(mode);
|
|
state_changed();
|
|
}
|
|
|
|
////////////////////////////////////////////////////////////////////
|
|
// Function: get_mode
|
|
// Access: Public
|
|
// Description:
|
|
////////////////////////////////////////////////////////////////////
|
|
INLINE PointShapeProperty::Mode PointShapeTransition::
|
|
get_mode(void) const {
|
|
return _value.get_mode();
|
|
}
|