Namespace: DeltaEngine.Graphics.Tests
Assembly: DeltaEngine.Graphics.Tests (in DeltaEngine.Graphics.Tests.dll) Version: 1.1.1.0 (1.1.1)
Assembly: DeltaEngine.Graphics.Tests (in DeltaEngine.Graphics.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax
Examples
[Test] public void SaveDataVector() { var element = new VertexElement(VertexElementType.TextureUV); using (var stream = new MemoryStream()) { var writer = new BinaryWriter(stream); element.SaveData(writer, Vector3D.UnitX); Assert.AreEqual(stream.Length, 12); } }
See Also