API C_ArtifactUI.GetAppearanceInfo

From Wowpedia
Jump to: navigation, search

Returns information about a selected artifact appearance.

appearanceID, appearanceName, displayIndex, appearanceUnlocked, unlockConditionText, uiCameraID, altHandUICameraID, swatchR, swatchG, swatchB, modelAlpha, modelDesaturation, suppressGlobalAnim = C_ArtifactUI.GetAppearanceInfo(setIndex, appearanceIndex)

Arguments

setIndex 
Number - Numeric index of the appearance set, from 1 to C_ArtifactUI.GetNumAppearanceSets
appearanceIndex 
Number - Numeric index of the appearance in the specified setIndex, from 1 to 4

Returns

Index Value Type Details
1 appearanceID Number The appearanceID
2 appearanceName String The name of the artifact weapon this appearance goes to
3 displayIndex Number The index of this appearance in its set, the same as the appearanceIndex that was entered
4 appearanceUnlocked Boolean Whether this appearance has been unlocked
5 unlockConditionText String The requirements for unlocking this appearance
6 uiCameraID Number <Unknown> Used by Model_ApplyUICamera
7 altHandUICameraID Number <Unknown> Used by Model_ApplyUICamera
8 swatchR Number The red component of the appearance swatch button, between 0 and 1
9 swatchG Number The green component of the appearance swatch button, between 0 and 1
10 swatchB Number The red component of the appearance swatch button, between 0 and 1
11 modelAlpha Number The alpha level (opacity) of the weapon in the Artifact UI, defaulted to 0.5
12 modelDesaturation Number The saturation level (brightness) of the weapon in the Artifact UI, defaulted to 0.5
13 suppressGlobalAnim Boolean Whether the artifact's animation is being suppressed, defaulted to false

Notes

  • unlockConditionText will return nil for the artifact's base appearance

Patch changes