模型预览和旋转

This commit is contained in:
bob
2025-06-24 12:41:43 +08:00
parent 197897a323
commit 89cad84802
26 changed files with 350 additions and 2862 deletions

View File

@@ -11,17 +11,17 @@ namespace NBF
{
public const string URL = "ui://hxr7rc7plvql10";
public ModelTexture Model;
public HomeButtonGroups OpGroup;
public BottomMenu BottomMenu;
public ModelTexture Model;
public override void ConstructFromXML(XML xml)
{
base.ConstructFromXML(xml);
Model = (ModelTexture)GetChild("Model");
OpGroup = (HomeButtonGroups)GetChild("OpGroup");
BottomMenu = (BottomMenu)GetChild("BottomMenu");
Model = (ModelTexture)GetChild("Model");
OnInited();
UILanguage.TrySetComponentLanguage(this);
}

View File

@@ -33,7 +33,7 @@ namespace NBF
UseBottomMenu();
Model.LoadModel(string.Empty);
Model.LoadAsset(0);
// Model.SetBackground(Panel.Back.GetChild("back"));//, Panel.Back.GetChild("icon")
}