MaterialTests Test800X480RenderSize 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 Test800X480RenderSize()
Examples

[Test]
public void Test800X480RenderSize()
{
    material.RenderSizeMode = RenderSizeMode.SizeFor800X480;
    Assert.AreEqual(0.125f, material.MaterialRenderSize.Width);
    Assert.AreEqual(0.125f, material.MaterialRenderSize.Height);
}
See Also