#include <enginepropertytypes.h>

Public Member Functions | |
| Vec2fActorProperty (const std::string &name, const std::string &label, Functor1< const osg::Vec2f & > set, Functor0Ret< osg::Vec2f > get, const std::string &desc="", const std::string &groupName="") | |
| virtual bool | FromString (const std::string &value) |
| Sets the value of the property based on a string. | |
| virtual const std::string | ToString () const |
| |
Protected Member Functions | |
| virtual | ~Vec2fActorProperty () |
| dtDAL::Vec2fActorProperty::Vec2fActorProperty | ( | const std::string & | name, | |
| const std::string & | label, | |||
| Functor1< const osg::Vec2f & > | set, | |||
| Functor0Ret< osg::Vec2f > | get, | |||
| const std::string & | desc = "", |
|||
| const std::string & | groupName = "" | |||
| ) | [inline] |
| virtual dtDAL::Vec2fActorProperty::~Vec2fActorProperty | ( | ) | [inline, protected, virtual] |
| bool dtDAL::Vec2fActorProperty::FromString | ( | const std::string & | value | ) | [virtual] |
Sets the value of the property based on a string.
The string should be two floating point values as a strings separated by spaces. This will return false if the values can't be set.
| value | the value to set. |
Implements dtDAL::AbstractParameter.
| const std::string dtDAL::Vec2fActorProperty::ToString | ( | ) | const [virtual] |
This value can be used when calling FromString.
Implements dtDAL::AbstractParameter.