Template:Standard attributes for RCOXML objects: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{| class="wikitable" | {| class="wikitable" | ||
|+standard object attributes {{ed right|RCOXML standard object attributes}} | |+standard object attributes {{ed right|RCOXML standard object attributes}} | ||
! colspan="5" | Attribute !! rowspan="2" | How it works | ! colspan="5" | Attribute !! rowspan="2" | How it works | ||
|- | |- | ||
! Name !! Type !! {{icon content psp}} !! {{icon content ps3}} !! Examples | ! Name !! Type !! {{icon content psp}} !! {{icon content ps3}} !! Examples | ||
|- | |- | ||
| stdPositionX || float || {{yes}} || {{yes}} || || Object X position, in pixels | | stdPositionX || float || {{yes}} || {{yes}} || || Object X position, in pixels | ||
|- | |- | ||
| stdPositionY || float || {{yes}} || {{yes}} || || Object Y position, in pixels | | stdPositionY || float || {{yes}} || {{yes}} || || Object Y position, in pixels | ||
|- | |- | ||
| stdPositionZ || float || {{yes}} || {{yes}} || || Object Z position, in pixels | | stdPositionZ || float || {{yes}} || {{yes}} || || Object Z position, in pixels | ||
|- | |- | ||
| stdRecolourR || float || {{yes}} || {{yes}} || || Object Red channel override, scale 0-1 | | stdRecolourR || float || {{yes}} || {{yes}} || || Object Red channel override, scale 0-1 | ||
|- | |- | ||
| stdRecolourG || float || {{yes}} || {{yes}} || || Object Green 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 | | stdRecolourB || float || {{yes}} || {{yes}} || || Object Blue channel override, scale 0-1 | ||
|- | |- | ||
| stdRecolourA || float || {{yes}} || {{yes}} || || Object Alpha 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 | | stdSizeX || float || {{yes}} || {{yes}} || || Object X size (width), in pixels | ||
|- | |- | ||
| stdSizeY || float || {{yes}} || {{yes}} || || Object Y size (height), in pixels | | stdSizeY || float || {{yes}} || {{yes}} || || Object Y size (height), in pixels | ||
|- | |- | ||
| stdSizeZ || float || {{yes}} || {{yes}} || || Object Z size (depth), in pixels | | stdSizeZ || float || {{yes}} || {{yes}} || || Object Z size (depth), in pixels | ||
|- | |- | ||
| stdResizeX || float || {{yes}} || {{yes}} || || Object X size override, scale 0-1 | | stdResizeX || float || {{yes}} || {{yes}} || || Object X size override, scale 0-1 | ||
|- | |- | ||
| stdResizeY || float || {{yes}} || {{yes}} || || Object Y 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 | | 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}} | | 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 | | stdGridPositionX || unk || {{no}} || {{yes}} || || Overrides '''stdPositionX''' value with a [[XMB Layouts]] reference | ||
|- | |- | ||
| stdGridPositionY || unk || {{no}} || {{yes}} || || Overrides '''stdPositionY''' 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 | | stdGridPositionZ || unk || {{no}} || {{yes}} || || Overrides '''stdPositionZ''' value with a [[XMB Layouts]] reference | ||
|- | |- | ||
| stdGridSizeX || unk || {{no}} || {{yes}} || || Overrides '''stdSizeX''' 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 | | stdGridSizeY || unk || {{no}} || {{yes}} || || Overrides '''stdSizeY''' value with a [[XMB Layouts]] reference | ||
|- | |- | ||
| stdGridSizeZ || unk || {{no}} || {{yes}} || || Overrides '''stdSizeZ''' 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 | |||
<noinclude>[[Category:Templates]]</noinclude> | <noinclude>[[Category:Templates]]</noinclude> |
Revision as of 04:40, 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