RSS

Среда, 06.11.2024, 00:17
Главная » WoW API » API Виджеты » Модель »

DressUpModel:SetCamera(index)

[ править ]
Sets the view angle on the model to a pre-defined camera location.
[клоны]
Sets the view angle on the model to a pre-defined camera location. Camera view angles are defined within the model files and not otherwise available to the scripting system. Some camera indices are standard across most models:

  • 0 - Non-movable camera, focused on the unit's face (if applicable); used by the game engine when rendering portrait textures
  • 1 - Movable camera, showing the entire body of the unit
  • 2 or higher - Movable camera in default position

Signature:
Code
Model:SetCamera(index)

Arguments:
  • index - Index of a camera view defined by the model file (number)

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