Assign float value to inputOutput SFFloat field named speed.
Note that our implementation with ExoPlayer that pitch and speed will be set to the same value.
@param newValue
397
public void setSpeed(float newValue) {
        if (newValue < 0) newValue = 0;
        this.pitch.setValue( newValue );
        this.speed.setValue( newValue );
    }
705952
public void setValue(String constantValue)
    {
        this.fieldSource = SOURCE_VALUE;
        this.fieldRefName = null;
        this.returnedByProcedure = false;
        this.constantValue = constantValue;
    }
918134
void writeFloat(float value) throws IOException {
        if (Float.isNaN(value) || Float.isInfinite(value)) {
            output.append('"').append(Float.toString(value)).append('"');
        } else {
            output.append(Float.toString(value));
        }
    }
606808
func NewFloatValue(t int64, v float64) Value {
	return FloatValue{unixnano: t, value: v}
}
1001304
public void setProperty(P property, Object newValue) throws PropertyException{
		setProperty(property, newValue, false);
	}
495377
public void setProperty(String property, Object newValue) {
        /** @todo we should check if we have the property with the metaClass instead of try/catch  */
        try {
            super.setProperty(property, newValue);
        }
        catch (MissingPropertyException e) {
            setVariable(property, newValue);
        }
    }
1144828
public void setFloat(String fieldName, Float value) {
		if (value == null) {
			throw new IllegalArgumentException("参数值[" + fieldName + "]不能为NULL.");
		}
		fieldList.add(fieldName);
		statementParameter.setFloat(value);
	}
551026
public void put(Float value) {
		if (value == null) {
			this.compiledStatement.bindNull(compiledStatementBindIndex++);
		} else {
			compiledStatement.bindDouble(compiledStatementBindIndex++, (float) value);
		}
	}
1170703
public static Float toFloat(Object o, Float defaultValue) {
	if (o instanceof Float) return (Float) o;
	if (defaultValue != null) return new Float(toFloatValue(o, defaultValue.floatValue()));

	float res = toFloatValue(o, Float.MIN_VALUE);
	if (res == Float.MIN_VALUE) return defaultValue;
	return new Float(res);
    }
927272
public FloatConstant addFloat(float value)
  {
    FloatConstant entry = getFloatByValue(value);

    if (entry != null)
      return entry;

    entry = new FloatConstant(this, _entries.size(), value);

    addConstant(entry);

    return entry;
  }
805109
public void set1Value(int index, String newValue) {
        try {
            value.set( index, newValue );
        }
        catch (IndexOutOfBoundsException e) {
            Log.e(TAG, "X3D MFString set1Value(int index, ...) out of bounds." + e);
        }
        catch (Exception e) {
            Log.e(TAG, "X3D MFString set1Value(int index, ...)  exception " + e);
        }
    }
996938
public void setLoopValue(int newLoopValue)
	{
		if (newLoopValue==Helpers.PLAYER_LOOP_DEACTIVATED)
		{
			getPlayerSetUp_fadeOutLoops().setSelected(false);
			getPlayerSetUp_ignoreLoops().setSelected(false);
		}
		else
		if (newLoopValue==Helpers.PLAYER_LOOP_FADEOUT)
		{
			getPlayerSetUp_fadeOutLoops().setSelected(true);
			getPlayerSetUp_ignoreLoops().setSelected(false);
		}
		else
		if (newLoopValue==Helpers.PLAYER_LOOP_IGNORE)
		{
			getPlayerSetUp_fadeOutLoops().setSelected(false);
			getPlayerSetUp_ignoreLoops().setSelected(true);
		}
	}
157235
protected void setValue(int newPosition, T1[] values, int number,
      boolean currentExisting) {
    if (number > 0) {
      T1 valueSum = null;
      T2 valueSumOfLogs = null;
      T1 valueSumOfSquares = null;
      T1 valueMin = null;
      T1 valueMax = null;
      for (int i = 0; i < number; i++) {
        valueSum = (i == 0) ? values[i] : operations.add11(valueSum, values[i]);
        valueSumOfLogs = (i == 0) ? operations.log1(values[i])
            : operations.add22(valueSumOfLogs, operations.log1(values[i]));
        valueSumOfSquares = (i == 0)
            ? operations.product11(values[i], values[i])
            : operations.add11(valueSumOfSquares,
                operations.product11(values[i], values[i]));
        valueMin = (i == 0) ? values[i] : operations.min11(valueMin, values[i]);
        valueMax = (i == 0) ? values[i] : operations.max11(valueMax, values[i]);
      }
      setValue(newPosition, valueSum, valueSumOfLogs, valueSumOfSquares,
          valueMin, valueMax, number, currentExisting);
    }
  }
411311
public void writeFloat(float value) {
		try {
	        buffer.writeInt(4);
	        buffer.writeFloat(value);
		} catch (Exception e) {
			throw new BinaryWriteFailedException(e);
		}
	}
1283067
public void addNextValue(Object val) {
    long newVal = Long.parseLong(val.toString());
    if (this.minVal > newVal) {
      this.minVal = newVal;
    }
  }
674066
public void setMethod(org.apache.xml.utils.QName newValue)
  {
    m_outputProperties.setQNameProperty(OutputKeys.METHOD, newValue);
  }
673491
def set_runtime_value_float(self, resourceid: int, floatvalue: float):
        """"""
        payload = """
            <setResourceValue1 xmlns=\"utcs\"
            xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\">
            <value i:type=\"a:WSFloatingPointValue\" xmlns:a=\"utcs.values\">
            <a:floatingPointValue>{value}</a:floatingPointValue></value>
            <typeString/>
            <resourceID>{id}</resourceID>
            <isValueRuntime>true</isValueRuntime>
            </setResourceValue1>
            </s:Body>
            """.format(id=resourceid, value=floatvalue)
        xdoc = self.connection.soap_action('/ws/ResourceInteractionService',
                                           'setResourceValue', payload)
        if xdoc:
            result = xdoc.find('./SOAP-ENV:Body/ns1:setResourceValue2',
                               IHCSoapClient.ihcns).text
            return result == "true"
        return False