LookAtCameraTests ActivateShakeEffect Method Delta Engine Documentation

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

public void ActivateShakeEffect()
Examples

[Test]
public void ActivateShakeEffect()
{
    var camera = CreateLookAtCamera(new Vector3D(0.0f, -5.0f, 5.0f), Vector3D.Zero);
    new Grid3D(new Size(10));
    camera.Start<CameraShakingUpdater>();
    new Command(() => { CameraShakingUpdater.isShaking = true; }).Add(new KeyTrigger(Key.Space));
}
See Also