<div dir="ltr">Thank you. Didn't realize the bin number was the same of bin details.<br></div><div class="gmail_extra"><br><div class="gmail_quote">2017-05-24 11:43 GMT+01:00 Robert Osfield <span dir="ltr"><<a href="mailto:robert.osfield@gmail.com" target="_blank">robert.osfield@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Bruno,<br>
<br>
>From the include/osg/StateSet header:<br>
<br>
        /** Set the render bin details.*/<br>
        void setRenderBinDetails(int binNum,const std::string&<br>
binName,RenderBinMode mode=USE_RENDERBIN_DETAILS);<br>
<br>
...<br>
<br>
        /** Set the render bin number.*/<br>
        inline void setBinNumber(int num) { _binNum=num; }<br>
<br>
        /** Get the render bin number.*/<br>
        inline int getBinNumber() const { return _binNum; }<br>
<br>
Robert.<br>
<div><div class="h5"><br>
On 24 May 2017 at 10:44, Bruno Oliveira <<a href="mailto:bruno.manata.oliveira@gmail.com">bruno.manata.oliveira@gmail.<wbr>com</a>> wrote:<br>
> Hello,<br>
><br>
> in order to sort my nodes by depth, I use the following code to a node's<br>
> stateset<br>
><br>
> nodeStateSet-><wbr>setRenderBinDetails(order, "DepthSortedBin");<br>
><br>
> where "order" is an int. Now, how do I get that value when I'm iterating<br>
> over my nodes?<br>
><br>
</div></div>> ______________________________<wbr>_________________<br>
> osg-users mailing list<br>
> <a href="mailto:osg-users@lists.openscenegraph.org">osg-users@lists.<wbr>openscenegraph.org</a><br>
> <a href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org" rel="noreferrer" target="_blank">http://lists.openscenegraph.<wbr>org/listinfo.cgi/osg-users-<wbr>openscenegraph.org</a><br>
><br>
______________________________<wbr>_________________<br>
osg-users mailing list<br>
<a href="mailto:osg-users@lists.openscenegraph.org">osg-users@lists.<wbr>openscenegraph.org</a><br>
<a href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org" rel="noreferrer" target="_blank">http://lists.openscenegraph.<wbr>org/listinfo.cgi/osg-users-<wbr>openscenegraph.org</a><br>
</blockquote></div><br></div>