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

[Test]
public void TestSettingsBasedRenderSize()
{
    material.RenderSizeMode = RenderSizeMode.SizeForSettingsResolution;
    AssertMaterialRenderSize(material,
        StackTraceExtensions.StartedFromNCrunchOrNunitConsole
            ? 0.3125f : ExceptionExtensions.IsDebugMode ? 0.15625f : 0.078125f);
}
See Also