v0.13.8

C_ArtifactUI.GetAppearanceInfo

functionguessedavailable in: camelot

Returns information about a selected artifact appearance.

signaturewowlua
function C_ArtifactUI.GetAppearanceInfo(    appearanceSetIndex: number,    appearanceIndex: number): (number?, string?, number?, boolean?, string?, number?, number?, number?, number?, number?, number?, number?, boolean?)

Parameters

nametypedescription
appearanceSetIndexnumberRanging from 1 to C_ArtifactUI.GetNumAppearanceSets()
appearanceIndexnumberNumeric index of the appearance in the specified setIndex, from 1 to 4 -- exception: Set 1 for both the Feral and the Guardian Druid Artifacts, which has 7 appearances total, due to racial basic tints: Troll/Zandalari is tint 1, Tauren/Highmountain is tint 2, Night Elf is tint 3, Worgen/Kul Tiran is tint 4, and 5 to 7 for the Pillar of Creation, Light's Heart, and Campaign Effort criteria that would otherwise be index 2 to 4. Querying racial tints other than the one for the current character's race returns nil.

Returns

#nametypedescription
1artifactAppearanceIDnumber?ArtifactAppearanceID
2appearanceNamestring?The name of the artifact weapon this appearance goes to
3displayIndexnumber?The index of this appearance in its set, the same as the appearanceIndex that was entered
4unlockedboolean?Whether this appearance has been unlocked
5failureDescriptionstring?The requirements for unlocking this appearance. Will return nil for the artifact's base appearance
6uiCameraIDnumber?
7altHandCameraIDnumber?
8swatchColorRnumber?The red component of the appearance swatch button, between 0 and 1
9swatchColorGnumber?The green component of the appearance swatch button, between 0 and 1
10swatchColorBnumber?The red component of the appearance swatch button, between 0 and 1
11modelOpacitynumber?The alpha level (opacity) of the weapon in the Artifact UI, defaulted to 0.5
12modelSaturationnumber?The saturation level (brightness) of the weapon in the Artifact UI, defaulted to 0.5
13obtainableboolean?Whether the artifact's animation is being suppressed, defaulted to false

Blizzard's documentation says it may return nothing.

In wowlua's emulated client

guessedThe answer is worked out from Blizzard's documentation, its UI code and the function's name, and not checked against the client. what the statuses mean

Restrictions

sources

Signature and flags: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (ArtifactUI system, camelot 1.60.1). Description: warcraft.wiki.gg's API pages ↗, by its contributors, CC BY-SA 4.0 ↗.