本文整理汇总了C#中System.IO.Stream.WriteValueF32方法的典型用法代码示例。如果您正苦于以下问题:C# Stream.WriteValueF32方法的具体用法?C# Stream.WriteValueF32怎么用?C# Stream.WriteValueF32使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类System.IO.Stream
的用法示例。
在下文中一共展示了Stream.WriteValueF32方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: Serialize
public void Serialize(Stream output, bool littleEndian)
{
output.WriteValueF32(this.X, littleEndian);
output.WriteValueF32(this.Y, littleEndian);
output.WriteValueF32(this.Z, littleEndian);
output.WriteValueF32(this.W, littleEndian);
}
示例2: Serialize
public void Serialize(Stream output, bool littleEndian)
{
output.WriteValueF32(this.A, littleEndian);
output.WriteValueF32(this.B, littleEndian);
output.WriteValueF32(this.C, littleEndian);
output.WriteValueF32(this.D, littleEndian);
}
示例3: Serialize
public void Serialize(Stream output, bool littleEndian)
{
output.WriteValueF32(this.AA, littleEndian);
output.WriteValueF32(this.AB, littleEndian);
output.WriteValueF32(this.AC, littleEndian);
output.WriteValueF32(this.AD, littleEndian);
output.WriteValueF32(this.BA, littleEndian);
output.WriteValueF32(this.BB, littleEndian);
output.WriteValueF32(this.BC, littleEndian);
output.WriteValueF32(this.BD, littleEndian);
output.WriteValueF32(this.CA, littleEndian);
output.WriteValueF32(this.CB, littleEndian);
output.WriteValueF32(this.CC, littleEndian);
output.WriteValueF32(this.CD, littleEndian);
output.WriteValueF32(this.DA, littleEndian);
output.WriteValueF32(this.DB, littleEndian);
output.WriteValueF32(this.DC, littleEndian);
output.WriteValueF32(this.DD, littleEndian);
}