Esempio n. 1
0
        public CCActionCameraState(CCActionCamera action, CCNode target)
            : base(action, target)
        {
            target.FauxLocalCameraCenter = new CCPoint3(target.AnchorPointInPoints, 0.0f);
            target.FauxLocalCameraTarget = new CCPoint3(target.AnchorPointInPoints, 0.0f);

            CameraCenter      = target.FauxLocalCameraCenter;
            CameraTarget      = target.FauxLocalCameraTarget;
            CameraUpDirection = target.FauxLocalCameraUpDirection;
        }
Esempio n. 2
0
        public CCActionCameraState (CCActionCamera action, CCNode target)
            : base (action, target)
        {
            target.FauxLocalCameraCenter = new CCPoint3(target.AnchorPointInPoints, 0.0f);
            target.FauxLocalCameraTarget = new CCPoint3(target.AnchorPointInPoints, 0.0f);

            CameraCenter = target.FauxLocalCameraCenter;
            CameraTarget = target.FauxLocalCameraTarget;
            CameraUpDirection = target.FauxLocalCameraUpDirection;
        }
Esempio n. 3
0
        protected CCActionCamera(CCActionCamera copy) : base(copy)
        {
            m_fCenterXOrig = copy.m_fCenterXOrig;
            m_fCenterYOrig = copy.m_fCenterYOrig;
            m_fCenterZOrig = copy.m_fCenterZOrig;

            m_fEyeXOrig = copy.m_fEyeXOrig;
            m_fEyeYOrig = copy.m_fEyeYOrig;
            m_fEyeZOrig = copy.m_fEyeZOrig;

            m_fUpXOrig = copy.m_fUpXOrig;
            m_fUpYOrig = copy.m_fUpYOrig;
            m_fUpZOrig = copy.m_fUpZOrig;
        }
Esempio n. 4
0
        protected CCActionCamera(CCActionCamera copy) : base(copy)
        {
            m_fCenterXOrig = copy.m_fCenterXOrig;
            m_fCenterYOrig = copy.m_fCenterYOrig;
            m_fCenterZOrig = copy.m_fCenterZOrig;

            m_fEyeXOrig = copy.m_fEyeXOrig;
            m_fEyeYOrig = copy.m_fEyeYOrig;
            m_fEyeZOrig = copy.m_fEyeZOrig;

            m_fUpXOrig = copy.m_fUpXOrig;
            m_fUpYOrig = copy.m_fUpYOrig;
            m_fUpZOrig = copy.m_fUpZOrig;
        }