ModelSceneFrame
object type47 methodsavailable in: camelot
Methods
In the emulator: 25 implemented, 22 guessed.
| method | what it does | status |
|---|---|---|
ClearFog | Removes the fog from the model scene. · by wowlua() | guessed |
CreateActor | Creates a new actor in the model scene. · by wowlua(name: string, template: string) | implemented |
GetActorAtIndex | Returns the actor at the given index in the scene. · by wowlua(index: number) | implemented |
GetAllowOverlappedModels | Whether the scene's models may be drawn overlapping other models. · by wowlua(): boolean | guessed |
GetCameraFarClip | Returns the camera's far clipping distance. · by wowlua(): number | guessed |
GetCameraFieldOfView | Field of view in radians(): number | guessed |
GetCameraForward | Returns the camera's forward direction vector. · by wowlua(): (number, number, number) | guessed |
GetCameraNearClip | Returns the camera's near clipping distance. · by wowlua(): number | guessed |
GetCameraPosition | Returns the x, y and z position of the scene's camera. · by wowlua(): (number, number, number) | guessed |
GetCameraRight | Returns the camera's right direction vector. · by wowlua(): (number, number, number) | guessed |
GetCameraUp | Returns the camera's up direction vector. · by wowlua(): (number, number, number) | guessed |
GetDrawLayer | Returns the scene's draw layer and its sublevel. · by wowlua(): (DrawLayer, number) | implemented |
GetFogColor | Returns the red, green and blue components of the scene's fog color. · by wowlua(): (number, number, number) | guessed |
GetFogFar | Returns the distance at which the scene's fog is at full strength. · by wowlua(): number | guessed |
GetFogNear | Returns the distance at which the scene's fog begins. · by wowlua(): number | guessed |
GetLightAmbientColor | Returns the red, green and blue components of the scene light's ambient color. · by wowlua(): (number, number, number) | guessed |
GetLightDiffuseColor | Returns the red, green and blue components of the scene light's diffuse color. · by wowlua(): (number, number, number) | guessed |
GetLightDirection | Returns the direction vector of the scene's light. · by wowlua(): (number, number, number) | guessed |
GetLightPosition | Returns the x, y and z position of the scene's light. · by wowlua(): (number, number, number) | guessed |
GetLightType | Returns the type of the scene's light, or nil if it has none. · by wowlua(): ModelLightType? | guessed |
GetNumActors | Returns the number of actors in the model scene. · by wowlua(): number | implemented |
GetViewInsets | Returns the insets of the scene's view from the frame's edges. · by wowlua(): uiRect | guessed |
GetViewTranslation | Returns the horizontal and vertical offset of the scene's view. · by wowlua(): (number, number) | guessed |
IsLightVisible | Whether the scene's light is turned on. · by wowlua(): boolean | guessed |
Project3DPointTo2D | Projects 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 |
SetAllowOverlappedModels | Sets whether the scene's models may be drawn overlapping other models. · by wowlua(allowOverlappedModels: boolean) | implemented |
SetCameraFarClip | Sets the camera's far clipping distance. · by wowlua(farClip: number) | implemented |
SetCameraFieldOfView | Field of view in radians(fov: number) | implemented |
SetCameraNearClip | Sets the camera's near clipping distance. · by wowlua(nearClip: number) | implemented |
SetCameraOrientationByAxisVectors | Sets 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 |
SetCameraOrientationByYawPitchRoll | Sets the camera's orientation from yaw, pitch and roll angles. · by wowlua(yaw: number, pitch: number, roll: number) | implemented |
SetCameraPosition | Sets the x, y and z position of the scene's camera. · by wowlua(positionX: number, positionY: number, positionZ: number) | implemented |
SetDesaturation | Sets how strongly the model scene is desaturated. · by wowlua(strength: number) | implemented |
SetDrawLayer | Sets the scene's draw layer. · by wowlua(layer: DrawLayer) | implemented |
SetFogColor | Sets the color of the scene's fog from red, green and blue components. · by wowlua(colorR: number, colorG: number, colorB: number) | implemented |
SetFogFar | Sets the distance at which the scene's fog is at full strength. · by wowlua(far: number) | implemented |
SetFogNear | Sets the distance at which the scene's fog begins. · by wowlua(near: number) | implemented |
SetLightAmbientColor | Sets the ambient color of the scene's light from red, green and blue components. · by wowlua(colorR: number, colorG: number, colorB: number) | implemented |
SetLightDiffuseColor | Sets the diffuse color of the scene's light from red, green and blue components. · by wowlua(colorR: number, colorG: number, colorB: number) | implemented |
SetLightDirection | Sets the direction vector of the scene's light. · by wowlua(directionX: number, directionY: number, directionZ: number) | implemented |
SetLightPosition | Sets the x, y and z position of the scene's light. · by wowlua(positionX: number, positionY: number, positionZ: number) | implemented |
SetLightType | Sets the type of the scene's light. · by wowlua(lightType: ModelLightType) | implemented |
SetLightVisible | Turns the scene's light on or off. · by wowlua(visible: boolean) | implemented |
SetPaused | Pauses or resumes the scene's animations. · by wowlua(paused: boolean, affectsGlobalPause: boolean) | implemented |
SetViewInsets | Sets the insets of the scene's view from the frame's edges. · by wowlua(insets: uiRect) | implemented |
SetViewTranslation | Sets the horizontal and vertical offset of the scene's view. · by wowlua(translationX: number, translationY: number) | implemented |
TakeActor | Takes 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.