Device Set3DMode Method Delta Engine Documentation

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

public void Set3DMode()
Remarks

Tests: DeltaEngine.Graphics.Tests.DeviceTests
Examples

1 unit tests call DeltaEngine.Graphics.Device.Set3DMode
[Test]
public void OnSet3DModeActionIsCalledWhenSetting3DMode()
{
    var device = Resolve<Device>() as MockDevice;
    if (device == null)
        return; //ncrunch: no coverage
    Assert.IsFalse(device.OnSet3DModeCalled);
    device.Set3DMode();
    Assert.IsTrue(device.OnSet3DModeCalled);
}
See Also