open_toontown_panda3d/panda/src/sgattrib/alphaTransformTransition.I

56 lines
1.8 KiB
Plaintext

// Filename: alphaTransformTransition.I
// Created by: jason (01Aug00)
//
////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////
// Function: AlphaTransformTransition::Constructor
// Access: Public
// Description:
////////////////////////////////////////////////////////////////////
INLINE AlphaTransformTransition::
AlphaTransformTransition(float offset, float scale) :
_state(offset, scale)
{
}
////////////////////////////////////////////////////////////////////
// Function: AlphaTransformTransition::set_offset
// Access: Public
// Description:
////////////////////////////////////////////////////////////////////
INLINE void AlphaTransformTransition::
set_offset(float offset) {
_state.set_offset(offset);
}
////////////////////////////////////////////////////////////////////
// Function: AlphaTransformTransition::get_offset
// Access: Public
// Description:
////////////////////////////////////////////////////////////////////
INLINE float AlphaTransformTransition::
get_offset() const {
return _state.get_offset();
}
////////////////////////////////////////////////////////////////////
// Function: AlphaTransformTransition::set_scale
// Access: Public
// Description:
////////////////////////////////////////////////////////////////////
INLINE void AlphaTransformTransition::
set_scale(float scale) {
_state.set_scale(scale);
}
////////////////////////////////////////////////////////////////////
// Function: AlphaTransformTransition::get_scale
// Access: Public
// Description:
////////////////////////////////////////////////////////////////////
INLINE float AlphaTransformTransition::
get_scale() const {
return _state.get_scale();
}