🪟 Widget3D
The Widget3D class is the 3D representation of a Widget class spawned in the world.
💂Authority
This class can only be spawned on 🟧 Client side.
👪Inheritance
This class shares methods and events from Base Entity, Base Actor.
🧑💻API Source
This page is auto-generated! The Functions, Properties and Events described here are defined in our GitHub's API Repository! Feel free to commit suggestions and changes to the source .json API files!
The Widget3D is the 3D representation of a Widget in the world! As it is an Actor, you have all the flexibility of it's methods!
🎒 Examples
Spawning a Widget3D from a Widget
Client/Index.lua
-- Spawns a Widget
local my_text = Widget(NativeWidget.Text)
my_text:CallBlueprintEvent("SetText", "Hello World!")
-- Spawns the Widget3D directly from a Widget
local my_widget_3d = my_text:SpawnWidget3D()
🛠 Constructors
You can only spawn Widget3D through Widget:SpawnWidget3D() method.