Added support for <image "start=10"> property that tells a video to start specificied number of sections into a video.

This commit is contained in:
Robert Osfield
2013-01-10 14:37:52 +00:00
parent c367e0771a
commit e569671d13
4 changed files with 45 additions and 6 deletions

View File

@@ -252,7 +252,10 @@ public:
imageSequence(false),
imageSequencePagingMode(osg::ImageSequence::PAGE_AND_DISCARD_USED_IMAGES),
imageSequenceInteractionMode(PLAY_AUTOMATICALLY_LIKE_MOVIE),
blendingHint(USE_IMAGE_ALPHA)
blendingHint(USE_IMAGE_ALPHA),
delayTime(0.0),
startTime(0.0),
stopTime(-1.0)
{}
std::string options;
@@ -285,7 +288,11 @@ public:
ON
};
BlendingHint blendingHint;
BlendingHint blendingHint;
double delayTime;
double startTime;
double stopTime;
};