# Candera Engine 2D

#### Removed limitation of 256 layers for photoshop export/import

Return and parameters type for [Node2D::SetRenderOrderRank](http://dev.doc.cgistudio.at/APILINK/class_candera_1_1_node2_d.html#a44f043fe18c7a3f946983e9dbdea1852), [Node2D::GetRenderOrderRank](http://dev.doc.cgistudio.at/APILINK/class_candera_1_1_node2_d.html#a335694d84284ef00aa0f0f3079c389c3) and [Node2D::GetEffectiveRenderOrderRank](http://dev.doc.cgistudio.at/APILINK/class_candera_1_1_node2_d.html#a6b23bd4be5a0d2c3f1ddac20cc86d830) have been changed from Int8 and Int16 to Int.

<div class="contents" id="bkmrk-"><div class="contents"><div class="textblock">---

</div></div></div>#### LayoutingRectangle and BoundingBox calculation

LayoutingRectangle and BoundingBox are always computed from the first effect in the chain, if it is or contains a brush. If an effect is a combined effect it forwards the call to it's contained brush effect.

<div class="contents" id="bkmrk--0"><div class="contents"><div class="textblock">---

</div></div></div>#### Added Computation of Perspective Warped Bounding Rectangle

A method for computing perspective warped bounding rectangle has been added to [Math2D](http://dev.doc.cgistudio.at/APILINK/class_candera_1_1_math2_d.html "The Math2D class for 2D transformation and helper functions.") class.

<div class="contents" id="bkmrk-see-also%3A-math2d%3A%3Age"><div class="textblock"><dl class="see"><dt>**See also:**</dt><dd>[Math2D::GetSurfaceAlignedPerspectiveBoundingRectangle()](http://dev.doc.cgistudio.at/APILINK/class_candera_1_1_math2_d.html#ab420fa8b9b18313426cdec621e970b3a).</dd></dl></div></div>---