18.02.2015 Views

5ml User's Guide

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

CHAPTER 8: Customizing Page Elements<br />

Changing 3D Transformations Properties<br />

The 3D Transformations tab of the Properties pane lets you edit a widget's 3D properties. For a widget to have 3D<br />

properties you must place it within the 3D Stage widget. You can place one or more of the <strong>5ml</strong>widgets within a 3D Stage<br />

widget.<br />

Note: Due to limited CSS 3D support in some browsers, the 3D Transformation properties are available only in Safari<br />

and Chrome browsers.<br />

Changing an Element's Origin Properties<br />

You can change the position of the element's perspective vanishing point by changing the perspective Origin values.<br />

Changing the X perspective Origin value moves the vanishing point along the X axis. A negative value moves it to the left<br />

and a positive number moves it to the right. Changing the Y perspective Origin value moves the vanishing point along the<br />

Y axis. A negative value moves it down and a positive number moves it to the up.<br />

The perspective Origin properties for all elements within a 3D Stage element are based on the 3D Stage's Perspective and<br />

Perspective Origin values. For example, an element within the 3D Stage element uses the 3D Stage's Perspective Origin<br />

value as its starting point for evaluating its own perspective origin. If you keep the element at it default value, 50%, then<br />

it will share the same vanishing point as the 3D Stage element, as shown with rectangle A in Figure 8-1 on page 216.<br />

Figure 8-1: Placing two Rectangle elements within a 3D Stage element.<br />

If you change the element's Origin value, then you will offset its vanishing point from the 3D Stage element's vanishing<br />

point, as shown with rectangle B in Figure 8-2 on page 217.<br />

- 216 -

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!