Skip to content
Bannerlord Wiki
Share
Explore
Tutorials

Custom Texture Widget (WIP)

Widget XML

DataSource
Property

Get Property Values then Update CustomTableau through CustomTextureProvider.

Widget Class

image.png

Recalculate

Null Vars
Repopulate
Call Refresh
Update Camera

Call SetTargetSize

called by the .
this populates texture

CustomTextureProvider

implement
@GetTexture()
, which should call
@CheckTexture()
and get this_providedTexture

CustomWidget


The
@OnRender()
method of the is constantly running and will grab the new texture for you and display it.

Done
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.