Add Uigadget Image
Battlefield 6 Scripting Docs / mod / mod / AddUIGadgetImage
function AddUIGadgetImage(
name,
position,
size,
anchor,
gadget,
parent): void;
Defined in: mod/index.d.ts:12886
Creates a new UI Image Widget based on a Gadget.
Parameter | Type |
---|---|
name |
string |
position |
Vector |
size |
Vector |
anchor |
UIAnchor |
gadget |
Gadgets |
parent |
UIWidget |
void
function AddUIGadgetImage(
name,
position,
size,
anchor,
gadget,
parent,
visibility): void;
Defined in: mod/index.d.ts:12896
Creates a new UI Image Widget based on a Gadget.
Parameter | Type |
---|---|
name |
string |
position |
Vector |
size |
Vector |
anchor |
UIAnchor |
gadget |
Gadgets |
parent |
UIWidget |
visibility |
Player | Team |
void