OGRE1.7 above version hide logo and mouse pick object key

Source: Internet
Author: User
OGRE1.7 above version of the hidden logo needs to be included in your program sdktrays.h this header file, the file exists in the Include/ogre directory, including the header file, will generally compile does not pass, need to include # include in the Sdktrays.h header file "OISMouse.h", I am using 1.7.4 version, so as to compile through, and then initialize mtraymgr = new Ogrebites::sdktraymanager ("Mytray", Mwindow, Mmouse, listener); Next, call Mtraymgr's hidden function. Mouse pick-up object, directly with Ogre::ray Mouseray=mtraymgr->getcursorray (Mcamera);///////the two-dimensional coordinates of the mouse into the ray on the line, other unimportant not to say.

OGRE1.7 above version hide logo and mouse pick object key

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.