56 lines
1.8 KiB
Plaintext
56 lines
1.8 KiB
Plaintext
// Filename: renderModeAttribute.I
|
|
// Created by: drose (22Mar00)
|
|
//
|
|
////////////////////////////////////////////////////////////////////
|
|
|
|
////////////////////////////////////////////////////////////////////
|
|
// Function: RenderModeAttribute::Constructor
|
|
// Access: Public
|
|
// Description:
|
|
////////////////////////////////////////////////////////////////////
|
|
INLINE RenderModeAttribute::
|
|
RenderModeAttribute() :
|
|
_value(RenderModeProperty::M_filled, 1.0)
|
|
{
|
|
}
|
|
|
|
////////////////////////////////////////////////////////////////////
|
|
// Function: RenderModeAttribute::set_mode
|
|
// Access: Public
|
|
// Description:
|
|
////////////////////////////////////////////////////////////////////
|
|
INLINE void RenderModeAttribute::
|
|
set_mode(RenderModeProperty::Mode mode) {
|
|
_value.set_mode(mode);
|
|
}
|
|
|
|
////////////////////////////////////////////////////////////////////
|
|
// Function: RenderModeAttribute::get_mode
|
|
// Access: Public
|
|
// Description:
|
|
////////////////////////////////////////////////////////////////////
|
|
INLINE RenderModeProperty::Mode RenderModeAttribute::
|
|
get_mode() const {
|
|
return _value.get_mode();
|
|
}
|
|
|
|
////////////////////////////////////////////////////////////////////
|
|
// Function: RenderModeAttribute::set_line_width
|
|
// Access: Public
|
|
// Description:
|
|
////////////////////////////////////////////////////////////////////
|
|
INLINE void RenderModeAttribute::
|
|
set_line_width(double line_width) {
|
|
_value.set_line_width(line_width);
|
|
}
|
|
|
|
////////////////////////////////////////////////////////////////////
|
|
// Function: RenderModeAttribute::get_line_width
|
|
// Access: Public
|
|
// Description:
|
|
////////////////////////////////////////////////////////////////////
|
|
INLINE double RenderModeAttribute::
|
|
get_line_width() const {
|
|
return _value.get_line_width();
|
|
}
|