예제 #1
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (NextCamera.Length != 0)
            {
                hash ^= NextCamera.GetHashCode();
            }
            hash ^= interpolation_.GetHashCode();
            hash ^= targetType_.GetHashCode();
            hash ^= easeInSpeed_.GetHashCode();
            hash ^= eastOutSpeed_.GetHashCode();
            hash ^= durationSeconds_.GetHashCode();
            hash ^= waitSeconds_.GetHashCode();
            hash ^= transitionSeconds_.GetHashCode();
            hash ^= angleDegree_.GetHashCode();
            hash ^= angleOffsetDegree_.GetHashCode();
            hash ^= pitchDegree_.GetHashCode();
            hash ^= pitchOffsetDegree_.GetHashCode();
            hash ^= rollDegree_.GetHashCode();
            hash ^= distanceMeters_.GetHashCode();
            hash ^= heightPercent_.GetHashCode();
            hash ^= vertCtrRatio_.GetHashCode();
            return(hash);
        }
예제 #2
0
            public override ListViewItem GetListViewItem()
            {
                ListViewItem m = new ListViewItem("");

                m.SubItems.Add(Position.X.ToString("#####0.############"));
                m.SubItems.Add(Position.Y.ToString("#####0.############"));
                m.SubItems.Add(Position.Z.ToString("#####0.############"));

                m.SubItems.Add(Angle.X.ToString("#####0.############"));
                m.SubItems.Add(Angle.Y.ToString("#####0.############"));
                m.SubItems.Add(Angle.Z.ToString("#####0.############"));

                m.SubItems.Add(Viewpoint1.X.ToString("#####0.############"));
                m.SubItems.Add(Viewpoint1.Y.ToString("#####0.############"));
                m.SubItems.Add(Viewpoint1.Z.ToString("#####0.############"));

                m.SubItems.Add(Viewpoint2.X.ToString("#####0.############"));
                m.SubItems.Add(Viewpoint2.Y.ToString("#####0.############"));
                m.SubItems.Add(Viewpoint2.Z.ToString("#####0.############"));

                m.SubItems.Add(FieldOfViewBegin.ToString());
                m.SubItems.Add(FieldOfViewBeginSine.ToString("#####0.############"));
                m.SubItems.Add(FieldOfViewBeginCosine.ToString("#####0.############"));

                m.SubItems.Add(FieldOfViewEnd.ToString());
                m.SubItems.Add(FieldOfViewEndSine.ToString("#####0.############"));
                m.SubItems.Add(FieldOfViewEndCosine.ToString("#####0.############"));

                m.SubItems.Add(FovSpeed.ToString());
                m.SubItems.Add(CameraType.ToString());

                m.SubItems.Add(LinkedRoute.ToString());

                m.SubItems.Add(RouteSpeed.ToString());
                m.SubItems.Add(PointSpeed.ToString());

                m.SubItems.Add(Duration.ToString());

                m.SubItems.Add(NextCamera.ToString());

                m.SubItems.Add(FirstIntroCamera.ToString());
                m.SubItems.Add(HexUtil.GetHexReverse(Unknown5));
                return(m);
            }