v0.13.8

CinematicModel

widget type18 methodsavailable in: camelot

CreateFrame("CinematicModel", …) makes one. It has every method of PlayerModel, plus 18 of its own.

Inherits from

  1. CinematicModel · 18
  2. PlayerModel · 0
  3. CharacterModelBase · 24
  4. Model · 65
  5. Frame · 126
  6. Region · 16
  7. ScriptRegion · 55
  8. ScriptRegionResizing · 13
  9. AnimatableObject · 3
  10. Object · 5
  11. 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.

methodwhat it doesstatus
EquipItemEquips an item on the model. · by wowlua
(itemID: number)
guessed
InitializeCameraSets up the model's camera. · by wowlua
(scaleFactor: number)
guessed
InitializePanCameraSets up the model's camera for panning. · by wowlua
(scaleFactor: number)
guessed
RefreshCameraUpdates the model's camera. · by wowlua
()
guessed
SetAnimOffsetSets the offset of the model's animation. · by wowlua
(offset: number)
implemented
SetCameraPositionSets the position of the model's camera. · by wowlua
(positionX: number, positionY: number, positionZ: number)
implemented
SetCameraTargetSets the point the model's camera looks at. · by wowlua
(positionX: number, positionY: number, positionZ: number)
implemented
SetCreatureDataShows a creature in the model. · by wowlua
(creatureID: number)
implemented
SetFacingLeftSets whether the model faces left. · by wowlua
(isFacingLeft: boolean)
implemented
SetFadeTimesSets how long the model takes to fade in and out. · by wowlua
(fadeInSeconds: number, fadeOutSeconds: number)
implemented
SetHeightFactorSets the model's height factor. · by wowlua
(factor: number)
implemented
SetJumpInfoSets the length and height of the model's jump. · by wowlua
(jumpLength: number, jumpHeight: number)
implemented
SetPanDistanceSets how far the model's camera pans. · by wowlua
(scale: number)
implemented
SetSpellVisualKitPlays a spell visual kit on the model. · by wowlua
(visualKitID: number)
implemented
SetTargetDistanceSets the distance of the model's camera target. · by wowlua
(scale: number)
implemented
StartPanStarts panning the model's camera. · by wowlua
(panType: number, durationSeconds: number, doFade: boolean, visKitID: number, startPositionScale: number, speedMultiplier: number)
guessed
StopPanStops panning the model's camera. · by wowlua
()
guessed
UnequipItemsRemoves 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.