v0.13.7

CharacterModelBase

object type24 methodsavailable in: camelot

It has every method of Model, plus 24 of its own.

Inherits from

  1. CharacterModelBase · 24
  2. Model · 65
  3. Frame · 126
  4. Region · 16
  5. ScriptRegion · 55
  6. ScriptRegionResizing · 13
  7. AnimatableObject · 3
  8. Object · 5
  9. FrameScriptObject · 21

The number is each type's own documented methods. A CharacterModelBase has all of them.

Methods

In the emulator: 12 implemented, 12 guessed.

methodwhat it doesstatus
ApplySpellVisualKitApplies a spell visual kit to the model. · by wowlua
(spellVisualKitID: number, oneShot: boolean)
guessed
CanSetUnitChecks whether the given unit can be shown on the model. · by wowlua
(unit: string)
guessed
FreezeAnimationFreezes the model at a specific frame of an animation. · by wowlua
(anim: AnimationDataEnum, variation: number, frame: number)
guessed
GetDisplayInfoReturns the creature display ID shown on the model. · by wowlua
(): number
guessed
GetDoBlendWhether the model blends between animations. · by wowlua
(): boolean
guessed
GetKeepModelOnHideWhether the model keeps its loaded model when it is hidden. · by wowlua
(): boolean
guessed
HasAnimationWhether the model has the given animation. · by wowlua
(anim: AnimationDataEnum): boolean
guessed
PlayAnimKitPlays an animation kit on the model. · by wowlua
(animKit: number, loop: boolean)
guessed
RefreshCameraRefreshes the model's camera. · by wowlua
()
guessed
RefreshUnitReloads the model from the unit it shows. · by wowlua
()
guessed
SetAnimationPlays the given animation on the model. · by wowlua
(anim: AnimationDataEnum, variation: number?)
implemented
SetBarberShopAlternateFormShows the barber shop's alternate form of the character on the model. · by wowlua
()
implemented
SetCamDistanceScaleSets the scale of the camera's distance from the model. · by wowlua
(scale: number)
implemented
SetCreatureShows the given creature on the model. · by wowlua
(creatureID: number, displayID: number)
implemented
SetDisplayInfoShows the given creature display on the model. · by wowlua
(displayID: number, mountDisplayID: number?)
implemented
SetDoBlendSets whether the model blends between animations. · by wowlua
(doBlend: boolean)
implemented
SetItemShows the given item on the model. · by wowlua
(itemID: number, appearanceModID: number?, itemVisualID: number?)
implemented
SetItemAppearanceShows the given item appearance on the model. · by wowlua
(itemAppearanceID: number, itemVisualID: number?, itemSubclass: ItemWeaponSubclass?)
implemented
SetKeepModelOnHideSets whether the model keeps its loaded model when it is hidden. · by wowlua
(keepModelOnHide: boolean)
implemented
SetPortraitZoomSets how far the model is zoomed in towards the portrait (face) view. · by wowlua
(zoom: number)
implemented
SetRotationSets the model's facing rotation. · by wowlua
(radians: number, animate: boolean)
implemented
SetUnitShows the given unit on the model and returns whether it succeeded. · by wowlua
(unit: string, blend: boolean, useNativeForm: boolean?): boolean
implemented
StopAnimKitStops the animation kit playing on the model. · by wowlua
()
guessed
ZeroCachedCenterXYResets the model's cached horizontal and vertical center to zero. · by wowlua
()
guessed

sources

Methods and inheritance: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (camelot 1.60.1). Descriptions: written by wowlua where no documentation describes the entry.