RSS

Суббота, 02.11.2024, 21:28
Главная » WoW API » API Виджеты » Модель »

facing = Model:GetFacing()

[ править ]
Returns the model's current rotation setting.
[клоны]
Returns the model's current rotation setting. The 3D model displayed by the model object can be rotated about its vertical axis. For example, a model of a player race faces towards the viewer when its facing is set to 0; setting facing to math.pi faces it away from the viewer.


Signature:
Code
facing = Model:GetFacing()

Returns:
  • facing - Current rotation angle of the model (in radians) (number)

Также смотрите: Модель
Ссылки: http://wowprogramming.com/docs/widgets/Model/GetFacing