VertexFormatTests VertexFormatVertexPosition3DUVSkinned Method Delta Engine Documentation

Namespace: DeltaEngine.Graphics.Tests
Assembly: DeltaEngine.Graphics.Tests (in DeltaEngine.Graphics.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax

public void VertexFormatVertexPosition3DUVSkinned()
Examples

[Test]
public void VertexFormatVertexPosition3DUVSkinned()
{
    var format = VertexFormat.Position3DUVSkinned;
    Assert.AreEqual(36, format.Stride);
    Assert.AreEqual(0, format.Elements[0].Offset);
    Assert.AreEqual(12, format.Elements[1].Offset);
    Assert.AreEqual(20, format.Elements[2].Offset);
    Assert.AreEqual(28, format.Elements[3].Offset);
}
See Also