ModelSceneFrameActorBase
object type50 methodsavailable in: camelot
It has every method of Object, plus 50 of its own.
Inherits from
- ModelSceneFrameActorBase · 50
- Object · 5
- 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.
| method | what it does | status |
|---|---|---|
ClearModel | Removes the actor's model. · by wowlua() | implemented |
GetActiveBoundingBox | Returns the minimum and maximum corners of the actor's current bounding box. · by wowlua(): (Vector3DMixin, Vector3DMixin) | guessed |
GetAlpha | Returns the actor's opacity. · by wowlua(): number | implemented |
GetAnimation | Returns the animation the actor plays. · by wowlua(): AnimationDataEnum | guessed |
GetAnimationBlendOperation | Returns how the actor blends between animations. · by wowlua(): ModelBlendOperation | guessed |
GetAnimationVariation | Returns the variation of the animation the actor plays. · by wowlua(): number | guessed |
GetDesaturation | Returns how strongly the actor is desaturated. · by wowlua(): number | guessed |
GetMaxBoundingBox | Returns the minimum and maximum corners of the largest bounding box of the actor's model. · by wowlua(): (Vector3DMixin, Vector3DMixin) | guessed |
GetModelFileID | Returns the file ID of the actor's model. · by wowlua(): number | guessed |
GetModelPath | Returns the file path of the actor's model. · by wowlua(): string | guessed |
GetModelUnitGUID | Returns the GUID of the unit the actor's model was set from. · by wowlua(): string | guessed |
GetParticleOverrideScale | Returns the scale applied to the actor's particle effects, or nil if none is set. · by wowlua(): number? | guessed |
GetPitch | Returns the actor's pitch rotation. · by wowlua(): number | guessed |
GetPosition | Returns the actor's x, y and z position in the scene. · by wowlua(): (number, number, number) | guessed |
GetRoll | Returns the actor's roll rotation. · by wowlua(): number | guessed |
GetScale | Returns the actor's scale. · by wowlua(): number | implemented |
GetSpellVisualKit | Returns the ID of the spell visual kit applied to the actor. · by wowlua(): number | guessed |
GetYaw | Returns the actor's yaw rotation. · by wowlua(): number | guessed |
Hide | Hides the actor. · by wowlua() | implemented |
IsLoaded | Whether the actor's model has finished loading. · by wowlua(): boolean | implemented |
IsPreferringModelCollisionBounds | Whether the actor uses its model's collision bounds for its bounding box. · by wowlua(): boolean | implemented |
IsShown | Whether the actor is set to be shown. · by wowlua(): boolean | implemented |
IsUsingCenterForOrigin | Returns, for the x, y and z axes, whether the actor uses its model's center as its origin. · by wowlua(): (boolean, boolean, boolean) | guessed |
IsVisible | Whether the actor is shown and its scene is visible. · by wowlua(): boolean | implemented |
PlayAnimationKit | Plays an animation kit on the actor. · by wowlua(animationKit: number, isLooping: boolean) | guessed |
SetAlpha | Sets the actor's opacity. · by wowlua(alpha: number) | implemented |
SetAnimation | Plays the given animation on the actor. · by wowlua(animation: AnimationDataEnum, variation: number?, animSpeed: number, animOffsetSeconds: number) | implemented |
SetAnimationBlendOperation | Sets how the actor blends between animations. · by wowlua(blendOp: ModelBlendOperation) | implemented |
SetDesaturation | Sets how strongly the actor is desaturated. · by wowlua(strength: number) | implemented |
SetGradientMask | Sets the color gradients applied to the actor's model. · by wowlua(gradientIndex0: number, gradientIndex1: number, gradientIndex2: number, gradientIndex3: number) | implemented |
SetGradientMaskWithDyes | Sets the color gradients applied to the actor's model from dye colors. · by wowlua(grad0DyeColorID: number?, grad1DyeColorID: number?, grad2DyeColorID: number?) | implemented |
SetModelByCreatureDisplayID | Sets the actor's model from a creature display ID and returns whether it succeeded. · by wowlua(creatureDisplayID: number, useActivePlayerCustomizations: boolean): boolean | implemented |
SetModelByFileID | Sets the actor's model from a model file ID and returns whether it succeeded. · by wowlua(asset: FileAsset, useMips: boolean): boolean | implemented |
SetModelByPath | Sets the actor's model from a model file path and returns whether it succeeded. · by wowlua(asset: FileAsset, useMips: boolean): boolean | implemented |
SetModelByUnit | Sets 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 |
SetModelByUnitCreatureDisplayID | Sets the actor's model to the given unit's creature display and returns whether it succeeded. · by wowlua(unit: string): boolean | implemented |
SetParticleOverrideScale | Sets the scale applied to the actor's particle effects. · by wowlua(scale: number?) | implemented |
SetPitch | Sets the actor's pitch rotation. · by wowlua(pitch: number) | implemented |
SetPlayerModelFromGlues | Sets 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 |
SetPosition | Sets the actor's x, y and z position in the scene. · by wowlua(positionX: number, positionY: number, positionZ: number) | implemented |
SetPreferModelCollisionBounds | If 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 |
SetRoll | Sets the actor's roll rotation. · by wowlua(roll: number) | implemented |
SetScale | Sets the actor's scale. · by wowlua(scale: number) | implemented |
SetShown | Shows or hides the actor. · by wowlua(show: boolean) | implemented |
SetSpellVisualKit | Applies a spell visual kit to the actor. · by wowlua(spellVisualKitID: number, oneShot: boolean) | implemented |
SetUseCenterForOrigin | Sets, 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 |
SetYaw | Sets the actor's yaw rotation. · by wowlua(yaw: number) | implemented |
Show | Shows the actor. · by wowlua() | implemented |
StopAnimationKit | Stops the animation kit playing on the actor. · by wowlua() | guessed |
TryOn | Puts 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.