Video PositionInSeconds Property Delta Engine Documentation

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

public abstract float PositionInSeconds { get; }

Property Value

Type: Single
Remarks

Tests: DeltaEngine.Multimedia.Tests.VideoTests
Examples

1 unit tests call DeltaEngine.Multimedia.Video.PositionInSeconds
[Test]
public void CheckDurationAndPosition()
{
    testVideo.Update();
    Assert.AreEqual(3.791f, testVideo.DurationInSeconds, 0.5f);
    Assert.AreEqual(1.0f, testVideo.PositionInSeconds);
}
See Also