Mobile::setMobilePhoneRotation: Difference between revisions
(yay) |
|||
| (One intermediate revision by one other user not shown) | |||
| Line 6: | Line 6: | ||
*'''rotY:''' float | *'''rotY:''' float | ||
*'''rotZ:''' float | *'''rotZ:''' float | ||
*'''p3:''' unknown | *'''p3:''' int (unknown) | ||
===Return value=== | ===Return value=== | ||
*'''Undefined''' | *'''Undefined''' | ||
| Line 16: | Line 17: | ||
{{Mobile_s_function_c}} | {{Mobile_s_function_c}} | ||
[[Category:Clientside API]] | [[Category:Clientside API]] | ||
[[Category:Mobile API]] | |||
[[Category:TODO: Example]] | [[Category:TODO: Example]] | ||
Latest revision as of 02:51, 24 July 2021
Last parameter is unknown and always zero.
Syntax
mp.game.mobile.setMobilePhoneRotation(rotX, rotY, rotZ, p3);
Required Arguments
- rotX: float
- rotY: float
- rotZ: float
- p3: int (unknown)
Return value
- Undefined
Example
// todo
See also
- mp.game.mobile.cellCamActivate
- mp.game.mobile.createMobilePhone
- mp.game.mobile.getMobilePhonePosition
- mp.game.mobile.getMobilePhoneRenderId
- mp.game.mobile.getMobilePhoneRotation
- mp.game.mobile.moveFinger
- mp.game.mobile.scriptIsMovingMobilePhoneOffscreen
- mp.game.mobile.setMobilePhonePosition
- mp.game.mobile.setMobilePhoneRotation
- mp.game.mobile.setMobilePhoneScale
- mp.game.mobile.setPhoneLean