Template:Standard attributes for RCOXML objects: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (trying to match standard attribute names with text object specific attribute names) |
||
Line 11: | Line 11: | ||
| stdPositionZ || float || {{yes}} || {{yes}} || | | stdPositionZ || float || {{yes}} || {{yes}} || | ||
|- | |- | ||
| | | stdColorScaleR || float || {{yes}} || {{yes}} || || rowspan="4" | Object Red,Green,Blue,Alpha channels override, scale 0-1 | ||
|- | |- | ||
| | | stdColorScaleG || float || {{yes}} || {{yes}} || | ||
|- | |- | ||
| | | stdColorScaleB || float || {{yes}} || {{yes}} || | ||
|- | |- | ||
| | | stdColorScaleA || float || {{yes}} || {{yes}} || | ||
|- | |- | ||
| stdSizeX || float || {{yes}} || {{yes}} || || rowspan="3" | Object X,Y,Z size, in pixels | | stdSizeX || float || {{yes}} || {{yes}} || || rowspan="3" | Object X,Y,Z size, in pixels | ||
Line 25: | Line 25: | ||
| stdSizeZ || float || {{yes}} || {{yes}} || | | stdSizeZ || float || {{yes}} || {{yes}} || | ||
|- | |- | ||
| | | stdSizeScaleX || float || {{yes}} || {{yes}} || || rowspan="3" | Object X,Y,Z size override, scale 0-1 | ||
|- | |- | ||
| | | stdSizeScaleY || float || {{yes}} || {{yes}} || | ||
|- | |- | ||
| | | stdSizeScaleZ || float || {{yes}} || {{yes}} || | ||
|- | |- | ||
| stdAnchorPointMode || int || {{yes}} || {{yes}} || || Object "handle point", by default located in the center of the object | | stdAnchorPointMode || int || {{yes}} || {{yes}} || || Object "handle point", by default located in the center of the object |
Revision as of 09:14, 11 December 2015
Attribute | How it works | ||||
---|---|---|---|---|---|
Name | Type | Examples | |||
stdPositionX | float | Yes | Yes | Object X,Y,Z position, in pixels | |
stdPositionY | float | Yes | Yes | ||
stdPositionZ | float | Yes | Yes | ||
stdColorScaleR | float | Yes | Yes | Object Red,Green,Blue,Alpha channels override, scale 0-1 | |
stdColorScaleG | float | Yes | Yes | ||
stdColorScaleB | float | Yes | Yes | ||
stdColorScaleA | float | Yes | Yes | ||
stdSizeX | float | Yes | Yes | Object X,Y,Z size, in pixels | |
stdSizeY | float | Yes | Yes | ||
stdSizeZ | float | Yes | Yes | ||
stdSizeScaleX | float | Yes | Yes | Object X,Y,Z size override, scale 0-1 | |
stdSizeScaleY | float | Yes | Yes | ||
stdSizeScaleZ | float | Yes | Yes | ||
stdAnchorPointMode | int | Yes | Yes | Object "handle point", by default located in the center of the object | |
stdOnInit | event | Yes | Yes | Triggers an event, see RCOXML Structure | |
stdOverridePositionX | unk | No | Yes | Overrides stdPositionX, stdPositionY, stdPositionZ with values from XMB Layouts | |
stdOverridePositionY | unk | No | Yes | ||
stdOverridePositionZ | unk | No | Yes | ||
stdOverrideSizeX | unk | No | Yes | Overrides stdSizeX, stdSizeY, stdSizeZ with values from XMB Layouts | |
stdOverrideSizeY | unk | No | Yes | ||
stdOverrideSizeZ | unk | No | Yes |
- 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 |