rv.data.Effect.EffectVariable.EffectFloat */ class EffectFloat extends \Google\Protobuf\Internal\Message { /** * Generated from protobuf field float value = 1; */ protected $value = 0.0; /** * Generated from protobuf field float default_value = 2; */ protected $default_value = 0.0; /** * Generated from protobuf field float min = 3; */ protected $min = 0.0; /** * Generated from protobuf field float max = 4; */ protected $max = 0.0; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type float $value * @type float $default_value * @type float $min * @type float $max * } */ public function __construct($data = NULL) { \GPBMetadata\Effects::initOnce(); parent::__construct($data); } /** * Generated from protobuf field float value = 1; * @return float */ public function getValue() { return $this->value; } /** * Generated from protobuf field float value = 1; * @param float $var * @return $this */ public function setValue($var) { GPBUtil::checkFloat($var); $this->value = $var; return $this; } /** * Generated from protobuf field float default_value = 2; * @return float */ public function getDefaultValue() { return $this->default_value; } /** * Generated from protobuf field float default_value = 2; * @param float $var * @return $this */ public function setDefaultValue($var) { GPBUtil::checkFloat($var); $this->default_value = $var; return $this; } /** * Generated from protobuf field float min = 3; * @return float */ public function getMin() { return $this->min; } /** * Generated from protobuf field float min = 3; * @param float $var * @return $this */ public function setMin($var) { GPBUtil::checkFloat($var); $this->min = $var; return $this; } /** * Generated from protobuf field float max = 4; * @return float */ public function getMax() { return $this->max; } /** * Generated from protobuf field float max = 4; * @param float $var * @return $this */ public function setMax($var) { GPBUtil::checkFloat($var); $this->max = $var; return $this; } }