v0.13.7

ModelSceneFrameActorBase

object type50 methodsavailable in: camelot

It has every method of Object, plus 50 of its own.

Inherits from

  1. ModelSceneFrameActorBase · 50
  2. Object · 5
  3. FrameScriptObject · 21

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

Methods

In the emulator: 32 implemented, 18 guessed.

methodwhat it doesstatus
ClearModelRemoves the actor's model. · by wowlua
()
implemented
GetActiveBoundingBoxReturns the minimum and maximum corners of the actor's current bounding box. · by wowlua
(): (Vector3DMixin, Vector3DMixin)
guessed
GetAlphaReturns the actor's opacity. · by wowlua
(): number
implemented
GetAnimationReturns the animation the actor plays. · by wowlua
(): AnimationDataEnum
guessed
GetAnimationBlendOperationReturns how the actor blends between animations. · by wowlua
(): ModelBlendOperation
guessed
GetAnimationVariationReturns the variation of the animation the actor plays. · by wowlua
(): number
guessed
GetDesaturationReturns how strongly the actor is desaturated. · by wowlua
(): number
guessed
GetMaxBoundingBoxReturns the minimum and maximum corners of the largest bounding box of the actor's model. · by wowlua
(): (Vector3DMixin, Vector3DMixin)
guessed
GetModelFileIDReturns the file ID of the actor's model. · by wowlua
(): number
guessed
GetModelPathReturns the file path of the actor's model. · by wowlua
(): string
guessed
GetModelUnitGUIDReturns the GUID of the unit the actor's model was set from. · by wowlua
(): string
guessed
GetParticleOverrideScaleReturns the scale applied to the actor's particle effects, or nil if none is set. · by wowlua
(): number?
guessed
GetPitchReturns the actor's pitch rotation. · by wowlua
(): number
guessed
GetPositionReturns the actor's x, y and z position in the scene. · by wowlua
(): (number, number, number)
guessed
GetRollReturns the actor's roll rotation. · by wowlua
(): number
guessed
GetScaleReturns the actor's scale. · by wowlua
(): number
implemented
GetSpellVisualKitReturns the ID of the spell visual kit applied to the actor. · by wowlua
(): number
guessed
GetYawReturns the actor's yaw rotation. · by wowlua
(): number
guessed
HideHides the actor. · by wowlua
()
implemented
IsLoadedWhether the actor's model has finished loading. · by wowlua
(): boolean
implemented
IsPreferringModelCollisionBoundsWhether the actor uses its model's collision bounds for its bounding box. · by wowlua
(): boolean
implemented
IsShownWhether the actor is set to be shown. · by wowlua
(): boolean
implemented
IsUsingCenterForOriginReturns, for the x, y and z axes, whether the actor uses its model's center as its origin. · by wowlua
(): (boolean, boolean, boolean)
guessed
IsVisibleWhether the actor is shown and its scene is visible. · by wowlua
(): boolean
implemented
PlayAnimationKitPlays an animation kit on the actor. · by wowlua
(animationKit: number, isLooping: boolean)
guessed
SetAlphaSets the actor's opacity. · by wowlua
(alpha: number)
implemented
SetAnimationPlays the given animation on the actor. · by wowlua
(animation: AnimationDataEnum, variation: number?, animSpeed: number, animOffsetSeconds: number)
implemented
SetAnimationBlendOperationSets how the actor blends between animations. · by wowlua
(blendOp: ModelBlendOperation)
implemented
SetDesaturationSets how strongly the actor is desaturated. · by wowlua
(strength: number)
implemented
SetGradientMaskSets the color gradients applied to the actor's model. · by wowlua
(gradientIndex0: number, gradientIndex1: number, gradientIndex2: number, gradientIndex3: number)
implemented
SetGradientMaskWithDyesSets the color gradients applied to the actor's model from dye colors. · by wowlua
(grad0DyeColorID: number?, grad1DyeColorID: number?, grad2DyeColorID: number?)
implemented
SetModelByCreatureDisplayIDSets the actor's model from a creature display ID and returns whether it succeeded. · by wowlua
(creatureDisplayID: number, useActivePlayerCustomizations: boolean): boolean
implemented
SetModelByFileIDSets the actor's model from a model file ID and returns whether it succeeded. · by wowlua
(asset: FileAsset, useMips: boolean): boolean
implemented
SetModelByPathSets the actor's model from a model file path and returns whether it succeeded. · by wowlua
(asset: FileAsset, useMips: boolean): boolean
implemented
SetModelByUnitSets the actor's model to the given unit and returns whether it succeeded. · by wowlua
(unit: string, sheatheWeapons: boolean, autoDress: boolean, hideWeapons: boolean, usePlayerNativeForm: boolean, holdBowString: boolean, customRaceID: number?): boolean
implemented
SetModelByUnitCreatureDisplayIDSets the actor's model to the given unit's creature display and returns whether it succeeded. · by wowlua
(unit: string): boolean
implemented
SetParticleOverrideScaleSets the scale applied to the actor's particle effects. · by wowlua
(scale: number?)
implemented
SetPitchSets the actor's pitch rotation. · by wowlua
(pitch: number)
implemented
SetPlayerModelFromGluesSets the actor's model to a character from the character selection screen and returns whether it succeeded. · by wowlua
(characterIndex: number?, sheatheWeapons: boolean, autoDress: boolean, hideWeapons: boolean, usePlayerNativeForm: boolean, customRaceID: number?): boolean
implemented
SetPositionSets the actor's x, y and z position in the scene. · by wowlua
(positionX: number, positionY: number, positionZ: number)
implemented
SetPreferModelCollisionBoundsIf true, will try to use the collision bounds of models for sizing and centering. Will fall back to default model bounds if set to False, or if collision bounds are unavailable.
(preferCollisionBounds: boolean)
implemented
SetRollSets the actor's roll rotation. · by wowlua
(roll: number)
implemented
SetScaleSets the actor's scale. · by wowlua
(scale: number)
implemented
SetShownShows or hides the actor. · by wowlua
(show: boolean)
implemented
SetSpellVisualKitApplies a spell visual kit to the actor. · by wowlua
(spellVisualKitID: number, oneShot: boolean)
implemented
SetUseCenterForOriginSets, for the x, y and z axes, whether the actor uses its model's center as its origin. · by wowlua
(x: boolean, y: boolean, z: boolean)
implemented
SetYawSets the actor's yaw rotation. · by wowlua
(yaw: number)
implemented
ShowShows the actor. · by wowlua
()
implemented
StopAnimationKitStops the animation kit playing on the actor. · by wowlua
()
guessed
TryOnPuts the given item on the actor and returns the try-on result. · by wowlua
(itemLinkOrItemModifiedAppearanceID: string, handSlotName: string?, spellEnchantmentID: number): ItemTryOnReason?
implemented

sources

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