MaterialTests Test1024X720RenderSize Method Delta Engine Documentation

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

public void Test1024X720RenderSize()
Examples

[Test]
public void Test1024X720RenderSize()
{
    material.RenderSizeMode = RenderSizeMode.SizeFor1024X768;
    Assert.AreEqual(0.09765625f, material.MaterialRenderSize.Width);
    Assert.AreEqual(0.09765625f, material.MaterialRenderSize.Height);
}
See Also