✨ RetainerBox

The Retainer Box renders children widgets to a render target first before later rendering that render target to the screen.

This class shares methods and events from Panel Widget.

🦠 Functions

SetMaterial

RetainerBox:SetMaterial(Material)
TypeParameterDescription

Material

GetMaterial

β€” Returns DynamicMaterial.

local ret = RetainerBox:GetMaterial()

SetTextureParameter

Sets the name of the texture parameter to set the render target to on the material.

RetainerBox:SetTextureParameter(TextureParameter)
TypeParameterDescription

TextureParameter

GetTextureParameter

β€” Returns string.

local ret = RetainerBox:GetTextureParameter()

SetRetainRender

Sets if we retain the render or pass it through.

RetainerBox:SetRetainRender(RetainRender)
TypeParameterDescription

RetainRender

GetRetainRender

β€” Returns boolean.

local ret = RetainerBox:GetRetainRender()

SetRenderingPhase

RetainerBox:SetRenderingPhase(RenderPhase, TotalPhases)
TypeParameterDescription

RenderPhase

0

TotalPhases

1

RequestRender

local ret = RetainerBox:RequestRender()

Last updated