Template:Standard attributes for RCOXML objects: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 49: | Line 49: | ||
*[[XMB Layouts]] references uses the data type "unk" used on purpose because rcomage cant convert the value correctlly | *[[XMB Layouts]] references uses the data type "unk" used on purpose because rcomage cant convert the value correctlly | ||
<noinclude>[[Category:Templates]]</noinclude> | <noinclude>[[Category:Templates]]</noinclude> | ||
*The anchor point affects the position of the object and all transformations (resize, rotate, etc...), there are only 9 posible values: | |||
{| class="wikitable" | |||
|+'''stdAnchorPoint''' | |||
| 0x11 || 0x10 || 0x12 | |||
|- | |||
| 0x01 || 0x00 || 0x02 | |||
|- | |||
| 0x21 || 0x20 || 0x22 | |||
|} |
Revision as of 04:55, 5 December 2015
Attribute | How it works | ||||
---|---|---|---|---|---|
Name | Type | Examples | |||
stdPositionX | float | Yes | Yes | Object X position, in pixels | |
stdPositionY | float | Yes | Yes | Object Y position, in pixels | |
stdPositionZ | float | Yes | Yes | Object Z position, in pixels | |
stdRecolourR | float | Yes | Yes | Object Red channel override, scale 0-1 | |
stdRecolourG | float | Yes | Yes | Object Green channel override, scale 0-1 | |
stdRecolourB | float | Yes | Yes | Object Blue channel override, scale 0-1 | |
stdRecolourA | float | Yes | Yes | Object Alpha channel override, scale 0-1 | |
stdSizeX | float | Yes | Yes | Object X size (width), in pixels | |
stdSizeY | float | Yes | Yes | Object Y size (height), in pixels | |
stdSizeZ | float | Yes | Yes | Object Z size (depth), in pixels | |
stdResizeX | float | Yes | Yes | Object X size override, scale 0-1 | |
stdResizeY | float | Yes | Yes | Object Y size override, scale 0-1 | |
stdResizeZ | float | Yes | Yes | Object Z size override, scale 0-1 | |
stdAnchorPoint | int | Yes | Yes | Object "handle point", by default located in the center of the object | |
stdOnInit | event | Yes | Yes | Triggers an event when the object is loaded, see RCOXML Structure | |
stdGridPositionX | unk | No | Yes | Overrides stdPositionX value with a XMB Layouts reference | |
stdGridPositionY | unk | No | Yes | Overrides stdPositionY value with a XMB Layouts reference | |
stdGridPositionZ | unk | No | Yes | Overrides stdPositionZ value with a XMB Layouts reference | |
stdGridSizeX | unk | No | Yes | Overrides stdSizeX value with a XMB Layouts reference | |
stdGridSizeY | unk | No | Yes | Overrides stdSizeY value with a XMB Layouts reference | |
stdGridSizeZ | unk | No | Yes | Overrides stdSizeZ value with a XMB Layouts reference |
- XMB Layouts references uses the data type "unk" used on purpose because rcomage cant convert the value correctlly
- The anchor point affects the position of the object and all transformations (resize, rotate, etc...), there are only 9 posible values:
0x11 | 0x10 | 0x12 |
0x01 | 0x00 | 0x02 |
0x21 | 0x20 | 0x22 |