Page 1 of 1

how to read the API

Posted: Mon Jan 11, 2010 12:29 am
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?

Posted: Mon Jan 11, 2010 1:42 am
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.

Posted: Mon Jan 11, 2010 1:53 am
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?

Posted: Mon Jan 11, 2010 2:56 am
by Josie
Yeah, pretty much.

Posted: Mon Jan 11, 2010 3:08 am
by humbrol
thanks for sending me a pm to crack the code.

Posted: Mon Jan 11, 2010 7:26 am
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

Posted: Thu Jan 14, 2010 2:30 am
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

Posted: Thu Jan 14, 2010 10:55 am
by humbrol
kewl thanks alot.