public override Vector3 this[int index] { get { double value1, value2, value3; FValueConfig.GetValue3D(index, out value1, out value2, out value3); return(new Vector3((float)value1, (float)value2, (float)value3)); } set { FValueConfig.SetValue3D(index, (double)value.X, (double)value.Y, (double)value.Z); } }
public override Quaternion this[int index] { get { double value1, value2, value3, value4; FValueConfig.GetValue4D(index, out value1, out value2, out value3, out value4); return(new Quaternion((float)value1, (float)value2, (float)value3, (float)value4)); } set { FValueConfig.SetValue4D(index, (double)value.X, (double)value.Y, (double)value.Z, (double)value.W); } }
public override Vector2 this[int index] { get { double value1, value2; FValueConfig.GetValue2D(index, out value1, out value2); return(new Vector2((float)value1, (float)value2)); } set { FValueConfig.SetValue2D(index, (double)value.X, (double)value.Y); } }