CharacterModelBase
object type24 methodsavailable in: camelot
It has every method of Model, plus 24 of its own.
Inherits from
- CharacterModelBase · 24
- Model · 65
- Frame · 126
- Region · 16
- ScriptRegion · 55
- ScriptRegionResizing · 13
- AnimatableObject · 3
- Object · 5
- 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.
| method | what it does | status |
|---|---|---|
ApplySpellVisualKit | Applies a spell visual kit to the model. · by wowlua(spellVisualKitID: number, oneShot: boolean) | guessed |
CanSetUnit | Checks whether the given unit can be shown on the model. · by wowlua(unit: string) | guessed |
FreezeAnimation | Freezes the model at a specific frame of an animation. · by wowlua(anim: AnimationDataEnum, variation: number, frame: number) | guessed |
GetDisplayInfo | Returns the creature display ID shown on the model. · by wowlua(): number | guessed |
GetDoBlend | Whether the model blends between animations. · by wowlua(): boolean | guessed |
GetKeepModelOnHide | Whether the model keeps its loaded model when it is hidden. · by wowlua(): boolean | guessed |
HasAnimation | Whether the model has the given animation. · by wowlua(anim: AnimationDataEnum): boolean | guessed |
PlayAnimKit | Plays an animation kit on the model. · by wowlua(animKit: number, loop: boolean) | guessed |
RefreshCamera | Refreshes the model's camera. · by wowlua() | guessed |
RefreshUnit | Reloads the model from the unit it shows. · by wowlua() | guessed |
SetAnimation | Plays the given animation on the model. · by wowlua(anim: AnimationDataEnum, variation: number?) | implemented |
SetBarberShopAlternateForm | Shows the barber shop's alternate form of the character on the model. · by wowlua() | implemented |
SetCamDistanceScale | Sets the scale of the camera's distance from the model. · by wowlua(scale: number) | implemented |
SetCreature | Shows the given creature on the model. · by wowlua(creatureID: number, displayID: number) | implemented |
SetDisplayInfo | Shows the given creature display on the model. · by wowlua(displayID: number, mountDisplayID: number?) | implemented |
SetDoBlend | Sets whether the model blends between animations. · by wowlua(doBlend: boolean) | implemented |
SetItem | Shows the given item on the model. · by wowlua(itemID: number, appearanceModID: number?, itemVisualID: number?) | implemented |
SetItemAppearance | Shows the given item appearance on the model. · by wowlua(itemAppearanceID: number, itemVisualID: number?, itemSubclass: ItemWeaponSubclass?) | implemented |
SetKeepModelOnHide | Sets whether the model keeps its loaded model when it is hidden. · by wowlua(keepModelOnHide: boolean) | implemented |
SetPortraitZoom | Sets how far the model is zoomed in towards the portrait (face) view. · by wowlua(zoom: number) | implemented |
SetRotation | Sets the model's facing rotation. · by wowlua(radians: number, animate: boolean) | implemented |
SetUnit | Shows the given unit on the model and returns whether it succeeded. · by wowlua(unit: string, blend: boolean, useNativeForm: boolean?): boolean | implemented |
StopAnimKit | Stops the animation kit playing on the model. · by wowlua() | guessed |
ZeroCachedCenterXY | Resets 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.