v0.13.8

ModelSceneFrame

object type47 methodsavailable in: camelot

Methods

In the emulator: 25 implemented, 22 guessed.

methodwhat it doesstatus
ClearFogRemoves the fog from the model scene. · by wowlua
()
guessed
CreateActorCreates a new actor in the model scene. · by wowlua
(name: string, template: string)
implemented
GetActorAtIndexReturns the actor at the given index in the scene. · by wowlua
(index: number)
implemented
GetAllowOverlappedModelsWhether the scene's models may be drawn overlapping other models. · by wowlua
(): boolean
guessed
GetCameraFarClipReturns the camera's far clipping distance. · by wowlua
(): number
guessed
GetCameraFieldOfViewField of view in radians
(): number
guessed
GetCameraForwardReturns the camera's forward direction vector. · by wowlua
(): (number, number, number)
guessed
GetCameraNearClipReturns the camera's near clipping distance. · by wowlua
(): number
guessed
GetCameraPositionReturns the x, y and z position of the scene's camera. · by wowlua
(): (number, number, number)
guessed
GetCameraRightReturns the camera's right direction vector. · by wowlua
(): (number, number, number)
guessed
GetCameraUpReturns the camera's up direction vector. · by wowlua
(): (number, number, number)
guessed
GetDrawLayerReturns the scene's draw layer and its sublevel. · by wowlua
(): (DrawLayer, number)
implemented
GetFogColorReturns the red, green and blue components of the scene's fog color. · by wowlua
(): (number, number, number)
guessed
GetFogFarReturns the distance at which the scene's fog is at full strength. · by wowlua
(): number
guessed
GetFogNearReturns the distance at which the scene's fog begins. · by wowlua
(): number
guessed
GetLightAmbientColorReturns the red, green and blue components of the scene light's ambient color. · by wowlua
(): (number, number, number)
guessed
GetLightDiffuseColorReturns the red, green and blue components of the scene light's diffuse color. · by wowlua
(): (number, number, number)
guessed
GetLightDirectionReturns the direction vector of the scene's light. · by wowlua
(): (number, number, number)
guessed
GetLightPositionReturns the x, y and z position of the scene's light. · by wowlua
(): (number, number, number)
guessed
GetLightTypeReturns the type of the scene's light, or nil if it has none. · by wowlua
(): ModelLightType?
guessed
GetNumActorsReturns the number of actors in the model scene. · by wowlua
(): number
implemented
GetViewInsetsReturns the insets of the scene's view from the frame's edges. · by wowlua
(): uiRect
guessed
GetViewTranslationReturns the horizontal and vertical offset of the scene's view. · by wowlua
(): (number, number)
guessed
IsLightVisibleWhether the scene's light is turned on. · by wowlua
(): boolean
guessed
Project3DPointTo2DProjects a point in the scene onto the screen and returns its 2D position and depth, or nil if it cannot be projected. · by wowlua
(pointX: number, pointY: number, pointZ: number): (number?, number?, number?)
guessed
SetAllowOverlappedModelsSets whether the scene's models may be drawn overlapping other models. · by wowlua
(allowOverlappedModels: boolean)
implemented
SetCameraFarClipSets the camera's far clipping distance. · by wowlua
(farClip: number)
implemented
SetCameraFieldOfViewField of view in radians
(fov: number)
implemented
SetCameraNearClipSets the camera's near clipping distance. · by wowlua
(nearClip: number)
implemented
SetCameraOrientationByAxisVectorsSets the camera's orientation from its forward, right and up direction vectors. · by wowlua
(forwardX: number, forwardY: number, forwardZ: number, rightX: number, rightY: number, rightZ: number, upX: number, upY: number, upZ: number)
implemented
SetCameraOrientationByYawPitchRollSets the camera's orientation from yaw, pitch and roll angles. · by wowlua
(yaw: number, pitch: number, roll: number)
implemented
SetCameraPositionSets the x, y and z position of the scene's camera. · by wowlua
(positionX: number, positionY: number, positionZ: number)
implemented
SetDesaturationSets how strongly the model scene is desaturated. · by wowlua
(strength: number)
implemented
SetDrawLayerSets the scene's draw layer. · by wowlua
(layer: DrawLayer)
implemented
SetFogColorSets the color of the scene's fog from red, green and blue components. · by wowlua
(colorR: number, colorG: number, colorB: number)
implemented
SetFogFarSets the distance at which the scene's fog is at full strength. · by wowlua
(far: number)
implemented
SetFogNearSets the distance at which the scene's fog begins. · by wowlua
(near: number)
implemented
SetLightAmbientColorSets the ambient color of the scene's light from red, green and blue components. · by wowlua
(colorR: number, colorG: number, colorB: number)
implemented
SetLightDiffuseColorSets the diffuse color of the scene's light from red, green and blue components. · by wowlua
(colorR: number, colorG: number, colorB: number)
implemented
SetLightDirectionSets the direction vector of the scene's light. · by wowlua
(directionX: number, directionY: number, directionZ: number)
implemented
SetLightPositionSets the x, y and z position of the scene's light. · by wowlua
(positionX: number, positionY: number, positionZ: number)
implemented
SetLightTypeSets the type of the scene's light. · by wowlua
(lightType: ModelLightType)
implemented
SetLightVisibleTurns the scene's light on or off. · by wowlua
(visible: boolean)
implemented
SetPausedPauses or resumes the scene's animations. · by wowlua
(paused: boolean, affectsGlobalPause: boolean)
implemented
SetViewInsetsSets the insets of the scene's view from the frame's edges. · by wowlua
(insets: uiRect)
implemented
SetViewTranslationSets the horizontal and vertical offset of the scene's view. · by wowlua
(translationX: number, translationY: number)
implemented
TakeActorTakes an actor from the scene's pool of unused actors. · by wowlua
()
guessed

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.