Template:Measure units used in RCOXML code: Difference between revisions

From PS3 Developer wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{ed right|Measure units used in RCOXML code}}
{{ed right|Measure units used in RCOXML code}}
{{Boxframe1|content='''Measure units used in RCOXML code'''
{{Boxframe1|content=<div class="center">'''Measure units used in RCOXML code'''</div>
 
*'''XYZ Position''', in pixels
*'''XYZ Position''', in pixels
*'''RGBA Color Scale''' (red, green, blue, alpha) in a scale from 0 up to 1, where 1 represents the max value posible of 255 (decimal value divided by 255 to get into this scale)
*'''RGBA Color Scale''' in percentage in a scale from 0 up to 1, where 1 represents the max value posible of 255 (decimal value divided by 255 to get into this scale)
*'''XYZ Size''', in pixels, negative numbers mirrors the image
*'''XYZ Size''', in pixels, negative numbers mirrors the image
*'''XYZ Size Scale''', in percentage in a scale from 0 up to 1, negative numbers mirrors the image
*'''XYZ Size Scale''', in percentage in a scale from 0 up to 1, negative numbers mirrors the image
*'''Time''', in miliseconds, where 1000 is one second
*'''Time''', in miliseconds, where 1000 is one second
*'''XYZ Angle''', in [https://en.wikipedia.org/wiki/Radian radians], where '''radians=(π/180)*degrees''' (and '''degrees=(180/π)*radians'''), as example for a full rotation of 360º degrees: radians=(3.14/180)*360=6.28 so... 360º degrees = 6.28 radians
*'''XYZ Angle''', in [https://en.wikipedia.org/wiki/Radian radians] with [https://en.wikipedia.org/wiki/Right-hand_rule right-handed rule coordinates], where '''radians=(π*degrees)/180''', and degrees=(180*radians), as example for one turn of 360º degrees: radians=(<abbr title="The first 50 decimal digits of PI are 3.14159265358979323846264338327950288419716939937510 so for precission use a scientific calculator where you can enter the value of PI with the press of a single button">3.141</abbr>*360)/180=6.283 ...so... 360º degrees = 6.283 radians
}}<noinclude>[[Category:Templates]]</noinclude>
}}<noinclude>[[Category:Templates]]</noinclude>

Latest revision as of 09:39, 2 September 2016

Measure units used in RCOXML code
  • XYZ Position, in pixels
  • RGBA Color Scale in percentage in a scale from 0 up to 1, where 1 represents the max value posible of 255 (decimal value divided by 255 to get into this scale)
  • XYZ Size, in pixels, negative numbers mirrors the image
  • XYZ Size Scale, in percentage in a scale from 0 up to 1, negative numbers mirrors the image
  • Time, in miliseconds, where 1000 is one second
  • XYZ Angle, in radians with right-handed rule coordinates, where radians=(π*degrees)/180, and degrees=(180*radians)/π, as example for one turn of 360º degrees: radians=(3.141*360)/180=6.283 ...so... 360º degrees = 6.283 radians