Skip to content
Widgets

TextureWidget

Overview

this class provides the textures for a variety of .
This Class Inherits the ImageWidget class, which inherits the Widget class.
TextureWidget Methods
7
Search
SetProperty
This method accepts a key and value pair as parameters. The script gets the type of the key and looks for the setmethod specified by the class which inherited the TextureProvider. After finding the setter, it calls the setter and passes the value to the /_suHIQ which is included as a private attribute of the class.
ClearTextureOfTextureProvider()
Clears the /_surpB
OnUpdate()
The texture widget calls the specified /_surpB on the OnUpdate Method. This method also calls SetTargetSize of the TextureProvider, if it hasn't already done so and calls the Tick() method of TextureProvider.
OnRender()
This method seems to be called by Widget.Render(). The chain seems to start with the UIContext. It gets the texture from the TextureProvider and fills the parameters of /_sunfp and uses the /_suWCM Draw method to draw the texture onto the screen
SetTextureProviderProperty
This method updates the value of a key or creates a new key and sets it to the textureProviderProperties dictionary. Then the method calls the method of the TextureProvider.
CheckTexture()
Gets the texture from the CharacterTableau and creates a 2D texture from it setting providedTexture.
GetTexture()
Calls CheckTexture() and returns the 2D Texture.
Clear()
Calls OnFinalize() for the characterTableau Clears base
SetTargetSize()
calls base implementation and calls the function for the the characterTableau as well.
Tick()
Calls CheckTexture() and characterTableau.OnTick()
SetViewVolume
AddLocation
Adds a specified path to the resourceDepot
CollectResources()
Gets all of the resources that reside within the paths collected in the resourceLocations list
GetFiles(string,string,bool)
Gets the paths of all the resources from the specified subdirectory,, of the
LoadOneXmlFromFile
Calls CreateDocumentFromXmlFile()
CreateDocumentFromXmlFile()
Creates an XMLDocument type from an xmlPath
LoadSaveGame()
Loads the save game.
Name

SetProperty

Parameters
Search
Type
Parameters
Column 2
LoadResult
0
Class
TextureProvider
Behavior
This method accepts a key and value pair as parameters.
The script gets the type of the key and looks for the setmethod specified by the class which inherited the TextureProvider. After finding the setter, it calls the setter and passes the value to the which is included as a private attribute of the class.


Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
CtrlP
) instead.