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
Line 6: Line 6:
*'''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=(π*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>/180)*360=6.283 ...so... 360º degrees = 6.283 radians
*'''XYZ Angle''', in [https://en.wikipedia.org/wiki/Radian radians], 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>

Revision as of 07:53, 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, 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