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

[Test]
public void Test1920X1080RenderSize()
{
    material.RenderSizeMode = RenderSizeMode.SizeFor1920X1080;
    Assert.AreEqual(0.0520833321f, material.MaterialRenderSize.Width);
    Assert.AreEqual(0.0520833321f, material.MaterialRenderSize.Height);
}
See Also