Editing Template:Standard attributes for RCOXML objects
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
{| class="wikitable" | {| class="wikitable" | ||
|+standard 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 | ! Name !! Type !! {{icon content psp}} !! {{icon content ps3}} !! 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 | ||
|- | |- | ||
| | | stdScaleColourR || float || {{yes}} || {{yes}} || || Object Red channel override, scale 0-1 | ||
|- | |- | ||
| | | stdScaleColourG || float || {{yes}} || {{yes}} || || Object Green channel override, scale 0-1 | ||
|- | |- | ||
| | | stdScaleColourB || float || {{yes}} || {{yes}} || || Object Blue channel override, scale 0-1 | ||
|- | |- | ||
| | | stdScaleColourA || 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 | ||
|- | |- | ||
| | | stdScaleSizeX || float || {{yes}} || {{yes}} || || Object X size override, scale 0-1 | ||
|- | |- | ||
| | | stdScaleSizeY || float || {{yes}} || {{yes}} || || Object Y size override, scale 0-1 | ||
|- | |- | ||
| | | stdScaleSizeZ || float || {{yes}} || {{yes}} || || Object Z size override, scale 0-1 | ||
|- | |- | ||
| | | stdAnchorPointMode || 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 | |||
<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 | |||
|} |