Merge pull request #11345 from IgorMats/v3

Add getStroke/setStroke methods for motion streak.
This commit is contained in:
minggo 2015-04-14 09:36:03 +08:00
commit 06a2042a11
1 changed files with 10 additions and 0 deletions

View File

@ -86,6 +86,16 @@ public:
* @param bFastMode True if enabled fast mode.
*/
inline void setFastMode(bool bFastMode) { _fastMode = bFastMode; }
/** Get stroke.
*
* @return float stroke.
*/
inline float getStroke() const { return _stroke; }
/** Set stroke.
*
* @param stroke The width of stroke.
*/
inline void setStroke(float stroke) { _stroke = stroke; }
/** Is the starting position initialized or not.
*