CinematicModel
widget type18 methodsavailable in: camelot
CreateFrame("CinematicModel", …) makes one. It has every method of PlayerModel, plus 18 of its own.
Inherits from
- CinematicModel · 18
- PlayerModel · 0
- 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 CinematicModel has all of them.
Methods
In the emulator: 11 implemented, 7 guessed.
| method | what it does | status |
|---|---|---|
EquipItem | Equips an item on the model. · by wowlua(itemID: number) | guessed |
InitializeCamera | Sets up the model's camera. · by wowlua(scaleFactor: number) | guessed |
InitializePanCamera | Sets up the model's camera for panning. · by wowlua(scaleFactor: number) | guessed |
RefreshCamera | Updates the model's camera. · by wowlua() | guessed |
SetAnimOffset | Sets the offset of the model's animation. · by wowlua(offset: number) | implemented |
SetCameraPosition | Sets the position of the model's camera. · by wowlua(positionX: number, positionY: number, positionZ: number) | implemented |
SetCameraTarget | Sets the point the model's camera looks at. · by wowlua(positionX: number, positionY: number, positionZ: number) | implemented |
SetCreatureData | Shows a creature in the model. · by wowlua(creatureID: number) | implemented |
SetFacingLeft | Sets whether the model faces left. · by wowlua(isFacingLeft: boolean) | implemented |
SetFadeTimes | Sets how long the model takes to fade in and out. · by wowlua(fadeInSeconds: number, fadeOutSeconds: number) | implemented |
SetHeightFactor | Sets the model's height factor. · by wowlua(factor: number) | implemented |
SetJumpInfo | Sets the length and height of the model's jump. · by wowlua(jumpLength: number, jumpHeight: number) | implemented |
SetPanDistance | Sets how far the model's camera pans. · by wowlua(scale: number) | implemented |
SetSpellVisualKit | Plays a spell visual kit on the model. · by wowlua(visualKitID: number) | implemented |
SetTargetDistance | Sets the distance of the model's camera target. · by wowlua(scale: number) | implemented |
StartPan | Starts panning the model's camera. · by wowlua(panType: number, durationSeconds: number, doFade: boolean, visKitID: number, startPositionScale: number, speedMultiplier: number) | guessed |
StopPan | Stops panning the model's camera. · by wowlua() | guessed |
UnequipItems | Removes all items equipped on the model. · 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.