Difference between revisions of "Oblivion XML Reference/Tiles"
→NIF: units
imported>DavidJCobb m (→NIF: This isn't markdown!) |
imported>DavidJCobb (→NIF: units) |
||
Line 14: | Line 14: | ||
Note that Oblivion deliberately limits the features that a NIF in a menu can use. <code>NiMaterialProperty</code> and <code>NiAlphaProperty</code> objects will be stripped out of your 3D content when it is spliced into the user interface. | Note that Oblivion deliberately limits the features that a NIF in a menu can use. <code>NiMaterialProperty</code> and <code>NiAlphaProperty</code> objects will be stripped out of your 3D content when it is spliced into the user interface. | ||
The exact relationship between 2D and 3D content is as follows: | |||
{| class="wikitable" | |||
! Direction !! 3D axis and increment !! 2D trait and increment | |||
|- | |||
| Right || X +1 || <code>x</code> + 1 | |||
|- | |||
| Down || Z -1 || <code>y</code> + 1 | |||
|- | |||
| Front (depth) || Y -0.008 || <code>depth</code> + 1 | |||
|} | |||
== Rect == | == Rect == |