v0.13.7

TextureBase

object type52 methodsavailable in: camelot

It has every method of Region, plus 52 of its own.

Inherits from

  1. TextureBase · 52
  2. Region · 16
  3. ScriptRegion · 55
  4. ScriptRegionResizing · 13
  5. AnimatableObject · 3
  6. Object · 5
  7. FrameScriptObject · 21

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

Methods

In the emulator: 33 implemented, 19 guessed.

methodwhat it doesstatus
ClearRadialProgressBarDisable radial progress bar rendering and restore standard texture display. · warcraft.wiki.gg ↗
()
guessed
ClearSVGRemoves the SVG image set with SetSVG from the texture. · by wowlua
()
guessed
ClearTextureSliceDisable shader based nineslice texture rendering. · warcraft.wiki.gg ↗
()
guessed
ClearVertexOffsetsRemoves the offsets of the texture's corner vertices. · by wowlua
()
guessed
GetAtlasReturns the atlas for the texture. · warcraft.wiki.gg ↗
(): string
implemented
GetBlendModeReturns the blend mode of the texture. · warcraft.wiki.gg ↗
(): BlendMode
guessed
GetDesaturationReturns the desaturation level of the texture. · warcraft.wiki.gg ↗
(): normalizedValue
guessed
GetHorizTileReturns true if the texture is tiling horizontally. · warcraft.wiki.gg ↗
(): boolean
implemented
GetRadialProgressBarEndOffsetReturns the end angle offset of the radial progress bar as a normalized value (0 to 1). · warcraft.wiki.gg ↗
(): normalizedValue
guessed
GetRadialProgressBarFeatherReturns the feather/blur amount applied to the radial progress bar edge. · warcraft.wiki.gg ↗
(): normalizedValue
guessed
GetRadialProgressBarPercentReturns the fill percentage of the radial progress bar (0 to 1). · warcraft.wiki.gg ↗
(): normalizedValue
guessed
GetRadialProgressBarReverseReturns whether the radial progress bar fills in reverse (counterclockwise) direction. · warcraft.wiki.gg ↗
(): boolean
guessed
GetRadialProgressBarStartOffsetReturns the start angle offset of the radial progress bar as a normalized value (0 to 1). · warcraft.wiki.gg ↗
(): normalizedValue
guessed
GetRotationReturns the rotation of the texture. · warcraft.wiki.gg ↗
(): (number, Vector2DMixin)
guessed
GetTexCoordReturns the texture space coordinates of the texture. · warcraft.wiki.gg ↗
(): (number, number, number, number, number, number, number, number)
guessed
GetTexelSnappingBiasReturns the texel snapping bias for the texture. · warcraft.wiki.gg ↗
(): normalizedValue
guessed
GetTextureReturns the FileID for the texture. · warcraft.wiki.gg ↗
(): string?
implemented
GetTextureFileIDReturns the FileID for the texture. · warcraft.wiki.gg ↗
(): number
implemented
GetTextureFilePathReturns the FileID for the texture. · warcraft.wiki.gg ↗
(): string?
guessed
GetTextureSliceMarginsReturns the left, top, right and bottom margins used when the texture is drawn in slices. · by wowlua
(): (number?, number?, number?, number?)
guessed
GetTextureSliceModeReturns how the middle parts of a sliced texture fill their space, stretched or tiled. · by wowlua
(): UITextureSliceMode?
guessed
GetVertTileReturns true if the texture is tiling vertically. · warcraft.wiki.gg ↗
(): boolean
implemented
GetVertexOffsetReturns a vertex offset for the texture. · warcraft.wiki.gg ↗
(vertexIndex: number): (number, number)
guessed
IsBlockingLoadRequestedWhether the texture loads its file before drawing instead of in the background. · by wowlua
(): boolean
implemented
IsDesaturatedReturns true if the texture is desaturated. · warcraft.wiki.gg ↗
(): boolean
implemented
IsSnappingToPixelGridReturns true if the texture is snapping to the pixel grid. · warcraft.wiki.gg ↗
(): boolean
implemented
ResetTexCoordResets the texture coordinates to show the whole texture. · by wowlua
()
implemented
SetAtlasSets the texture to an atlas. · warcraft.wiki.gg ↗
(atlas: string, useAtlasSize: boolean, filterMode: FilterMode?, resetTexCoords: boolean?, wrapModeHorizontal: string?, wrapModeVertical: string?)
implemented
SetBlendModeSets the blend mode of the texture. · warcraft.wiki.gg ↗
(blendMode: BlendMode)
implemented
SetBlockingLoadsRequestedSets whether the texture loads its file before drawing instead of in the background. · by wowlua
(blocking: boolean)
implemented
SetColorTextureSets the texture to a solid color. · warcraft.wiki.gg ↗
(colorR: number, colorG: number, colorB: number, a: number?)
implemented
SetDesaturatedSets the texture to be desaturated. · warcraft.wiki.gg ↗
(desaturated: boolean)
implemented
SetDesaturationSets the desaturation level of the texture. · warcraft.wiki.gg ↗
(desaturation: normalizedValue)
implemented
SetGradientSets a gradient color shading for the texture. · warcraft.wiki.gg ↗
(orientation: Orientation, minColor: ColorMixin, maxColor: ColorMixin)
implemented
SetHorizTileSets whether the texture should tile horizontally. · warcraft.wiki.gg ↗
(tiling: boolean)
implemented
SetMaskApplies a mask to the texture. · warcraft.wiki.gg ↗
(file: string)
implemented
SetRadialProgressBarEndOffsetSets the end angle offset of the radial progress bar as a normalized value (0 to 1). · warcraft.wiki.gg ↗
(offset: normalizedValue)
implemented
SetRadialProgressBarFeatherSets the feather/blur amount applied to the radial progress bar edge (higher = more gradual falloff). · warcraft.wiki.gg ↗
(feather: normalizedValue)
implemented
SetRadialProgressBarPercentSets the fill percentage of the radial progress bar (0 to 1). · warcraft.wiki.gg ↗
(percent: normalizedValue)
implemented
SetRadialProgressBarReverseSets whether the radial progress bar fills in reverse (counterclockwise) direction. · warcraft.wiki.gg ↗
(reverse: boolean)
implemented
SetRadialProgressBarStartOffsetSets the start angle offset of the radial progress bar as a normalized value (0 to 1), where 0 is at the bottom. · warcraft.wiki.gg ↗
(offset: normalizedValue)
implemented
SetRotationApplies a rotation to the texture. · warcraft.wiki.gg ↗
(radians: number, normalizedRotationPoint: Vector2DMixin?)
implemented
SetSVGSets the texture to draw an SVG image. · by wowlua
(svgAsset: FileAsset): boolean
implemented
SetSnapToPixelGridSets the texture to snap to the pixel grid. · warcraft.wiki.gg ↗
(snap: boolean)
implemented
SetSpriteSheetCellSets the texture to show one cell of a sprite sheet. · by wowlua
(cell: number, numRows: number, numColumns: number, cellWidth: number?, cellHeight: number?)
implemented
SetTexCoordSets the coordinates for cropping or transforming the texture. · warcraft.wiki.gg ↗
(left: number, right: number, bottom: number, top: number)
implemented
SetTexelSnappingBiasSets the texel snapping bias for the texture. · warcraft.wiki.gg ↗
(bias: normalizedValue)
implemented
SetTextureSets the texture to an image. · warcraft.wiki.gg ↗
(textureAsset: string?, wrapModeHorizontal: string?, wrapModeVertical: string?, filterMode: string?): boolean
implemented
SetTextureSliceMarginsEnables nineslice texture rendering using the specified pixel margins. · warcraft.wiki.gg ↗
(left: number, top: number, right: number, bottom: number)
implemented
SetTextureSliceModeControls whether the center and sides are Stretched or Tiled when using nineslice texture rendering. · warcraft.wiki.gg ↗
(sliceMode: UITextureSliceMode)
implemented
SetVertTileSets whether the texture should tile vertically. · warcraft.wiki.gg ↗
(tiling: boolean)
implemented
SetVertexOffsetSets a vertex offset for the texture. · warcraft.wiki.gg ↗
(vertexIndex: number, offsetX: number, offsetY: number)
guessed

sources

Methods and inheritance: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (camelot 1.60.1). Descriptions: warcraft.wiki.gg's API pages, by its contributors, CC BY-SA 4.0 ↗; written by wowlua where no documentation describes the entry.