Template:Standard attributes for RCOXML objects: Difference between revisions
Jump to navigation
Jump to search
m (trying to match standard attribute names with text object specific attribute names) |
mNo edit summary |
||
Line 11: | Line 11: | ||
| stdPositionZ || float || {{yes}} || {{yes}} || | | stdPositionZ || float || {{yes}} || {{yes}} || | ||
|- | |- | ||
| stdColorScaleR || float || {{yes}} || {{yes}} || || rowspan="4" | Object Red,Green,Blue,Alpha channels | | stdColorScaleR || float || {{yes}} || {{yes}} || || rowspan="4" | Object Red,Green,Blue,Alpha channels scaler (scale 0-1) | ||
|- | |- | ||
| stdColorScaleG || float || {{yes}} || {{yes}} || | | stdColorScaleG || float || {{yes}} || {{yes}} || | ||
Line 25: | Line 25: | ||
| stdSizeZ || float || {{yes}} || {{yes}} || | | stdSizeZ || float || {{yes}} || {{yes}} || | ||
|- | |- | ||
| stdSizeScaleX || float || {{yes}} || {{yes}} || || rowspan="3" | Object X,Y,Z size | | stdSizeScaleX || float || {{yes}} || {{yes}} || || rowspan="3" | Object X,Y,Z size scaler (scale 0-1) | ||
|- | |- | ||
| stdSizeScaleY || float || {{yes}} || {{yes}} || | | stdSizeScaleY || float || {{yes}} || {{yes}} || |
Revision as of 09:51, 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 scaler (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 scaler (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 |