public uint   ledMask;          // Each bit indicates whether the led is included in the animation track

        public ushort getDuration(DataSet.AnimationBits bits)
        {
            var kf = bits.getRGBKeyframe((ushort)(keyframesOffset + keyFrameCount - 1));

            return(kf.time());
        }
Exemple #2
0
 public RGBKeyframe getKeyframe(DataSet.AnimationBits bits, ushort keyframeIndex)
 {
     Debug.Assert(keyframeIndex < keyFrameCount);
     return(bits.getRGBKeyframe((ushort)(keyframesOffset + keyframeIndex)));
 }