RSS

Пятница, 29.03.2024, 14:33
Главная » WoW API » API Виджеты »

Модель

[ Добавить запись ]

В категории материалов: 96
Показано материалов: 51-96
Страницы: « 1 2

Название Описание
Model:SetPosition(x, y, z) Sets the position of the 3D model within the frame.
Model:SetModelScale(scale) Sets the scale factor determining the size at which the 3D model appears.
Model:SetModel("filename") Sets the model file to be displayed.
Model:SetLight(enabled, omni, dirX, dirY, dirZ, ambIntensity [, ambR [, ambG [, ambB [, dirIntensity [, dirR [, dirG [, dirB]]]]]]]) Sets properties of the light sources used when rendering the model.
Model:SetGlow(amount) Sets the model's glow amount.
Model:SetFogNear(distance) Sets the near clipping distance for the model's fog.
Model:SetFogFar(distance) Sets the far clipping distance for the model's fog.
Model:SetFogColor(red, green, blue) Sets the model's fog color, enabling fog display if disabled.
Model:SetFacing(facing) Sets the model's current rotation.
Model:SetCamera(index) Sets the view angle on the model to a pre-defined camera location.
Model:ReplaceIconTexture("filename") Sets the icon texture used by the model.
x, y, z = Model:GetPosition() Returns the position of the 3D model within the frame.
scale = Model:GetModelScale() Returns the scale factor determining the size at which the 3D model appears.
filename = Model:GetModel() Returns the model file currently displayed.
enabled, omni, dirX, dirY, dirZ, ambIntensity, ambR, ambG, ambB, dirIntensity, dirR, dirG, dirB = Model:GetLight() Returns properties of the light sources used when rendering the model.
distance = Model:GetFogNear() Returns the near clipping distance for the model's fog.
distance = Model:GetFogFar() Returns the far clipping distance for the model's fog.
red, green, blue = Model:GetFogColor() Returns the model's current fog color.
facing = Model:GetFacing() Returns the model's current rotation setting.
Model:ClearModel() Removes the 3D model currently displayed.
Model:ClearFog() Disables fog display for the model.
Model:AdvanceTime() Advances to the model's next animation frame.
DressUpModel:SetSequenceTime(sequence, time) Sets the animation sequence and time index to be used by the model.
DressUpModel:SetSequence(sequence) Sets the animation sequence to be used by the model.
DressUpModel:SetPosition(x, y, z) Sets the position of the 3D model within the frame.
DressUpModel:SetModelScale(scale) Sets the scale factor determining the size at which the 3D model appears.
DressUpModel:SetModel("filename") Sets the model file to be displayed.
DressUpModel:SetLight(enabled, omni, dirX, dirY, dirZ, ambIntensity [, ambR [, ambG [, ambB [, dirIntensity [, dirR [, dirG [, dirB]]]]]]]) Sets properties of the light sources used when rendering the model.
DressUpModel:SetGlow(amount) Sets the model's glow amount.
DressUpModel:SetFogNear(distance) Sets the near clipping distance for the model's fog.
DressUpModel:SetFogFar(distance) Sets the far clipping distance for the model's fog.
DressUpModel:SetFogColor(red, green, blue) Sets the model's fog color, enabling fog display if disabled.
DressUpModel:SetFacing(facing) Sets the model's current rotation.
DressUpModel:SetCamera(index) Sets the view angle on the model to a pre-defined camera location.
DressUpModel:ReplaceIconTexture("filename") Sets the icon texture used by the model.
x, y, z = DressUpModel:GetPosition() Returns the position of the 3D model within the frame.
scale = DressUpModel:GetModelScale() Returns the scale factor determining the size at which the 3D model appears.
filename = DressUpModel:GetModel() Returns the model file currently displayed.
enabled, omni, dirX, dirY, dirZ, ambIntensity, ambR, ambG, ambB, dirIntensity, dirR, dirG, dirB = DressUpModel:GetLight() Returns properties of the light sources used when rendering the model.
distance = DressUpModel:GetFogNear() Returns the near clipping distance for the model's fog.
distance = DressUpModel:GetFogFar() Returns the far clipping distance for the model's fog.
red, green, blue = DressUpModel:GetFogColor() Returns the model's current fog color.
facing = DressUpModel:GetFacing() Returns the model's current rotation setting.
DressUpModel:ClearModel() Removes the 3D model currently displayed.
DressUpModel:ClearFog() Disables fog display for the model.
DressUpModel:AdvanceTime() Advances to the model's next animation frame.

1-50 51-96