how to read the API

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
humbrol
Posts: 83
Joined: Sun Nov 18, 2007 8:22 pm

how to read the API

Post by humbrol »

Being a semi noob to programming and a total noob to irrlicht. can someone explain how to dig through the api documentation and how to understand and find what your looking for and make sense of the different member functions and how to use them etc?
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

Well, you start with the device, maybe you even know already (e.g. from the tutorials) that you have things like scene manager etc. Read the methods' descriptions in those interfaces, and click on those which you find useful. You find the description and features on the following pages.
humbrol
Posts: 83
Joined: Sun Nov 18, 2007 8:22 pm

Post by humbrol »

Code: Select all

virtual void irr::scene::ISceneNode::setScale  	(  	const core::vector3df &   	 scale  	 )   	 [inline, virtual]

Sets the relative scale of the scene node.

Parameters:
    	scale 	New scale of the node, relative to its parent.

Definition at line 445 of file ISceneNode.h.

References RelativeScale.

Referenced by deserializeAttributes().
i guess what im asking is would the way to read/use this be
node1->setScale(vector3df(100,100,100)); or whatever to
increase the scale by 100 unites?
Josie
Posts: 44
Joined: Sat Jul 25, 2009 4:08 am
Location: Griffin, Georgia, US
Contact:

Post by Josie »

Yeah, pretty much.
humbrol
Posts: 83
Joined: Sun Nov 18, 2007 8:22 pm

Post by humbrol »

thanks for sending me a pm to crack the code.
rekk1986
Posts: 5
Joined: Wed Jan 06, 2010 1:39 am

Post by rekk1986 »

Making many Questions is the way that let us learn more about the things that we are interested in. So Thanks for your questions,humbrol
DtD
Posts: 264
Joined: Mon Aug 11, 2008 7:05 am
Location: Kansas
Contact:

Post by DtD »

If you're having trouble finding the function you're looking for, you can also use Google.

Just search "setScale site:http://irrlicht.sourceforge.net/docu/"

This also works with the forums (Just use http://irrlicht.sourceforge.net/phpBB2/ instead)

And pretty much any other website.

~DtD
humbrol
Posts: 83
Joined: Sun Nov 18, 2007 8:22 pm

Post by humbrol »

kewl thanks alot.
Post Reply