Feldruebe
Topic Author
Posts: 22
Joined: 24 Jun 2018, 11:52

ConicGradientBrushShader

09 Sep 2022, 01:14

Hello,

I tried to use the ConicGradientBrushShader the same way it was used in the documentation.
But I get the following error:
[NOESIS/E] Assets/Scripts/Ui/Overlay/MainMenu/MainMenuView.xaml(63): Unknown type 'NoesisGUIExtensions.ConicGradientBrushShader'.
UnityEngine.Debug:LogError (object,UnityEngine.Object)
NoesisUnity:UnityLog (int,string) (at C:/UnityPackages/NoesisGUI-Unity-3.1.5-Indie/Runtime/NoesisUnity.cs:357)
Noesis.GUI:LoadComponent (object,string) (at C:/UnityPackages/NoesisGUI-Unity-3.1.5-Indie/Runtime/API/Core/NoesisGUI.cs:326)
NoesisUnity:LoadComponent (object,string) (at C:/UnityPackages/NoesisGUI-Unity-3.1.5-Indie/Runtime/NoesisUnity.cs:270)
Ui.Overlay.MainMenu.MainMenuView:InitializeComponent () (at Assets/Scripts/Ui/Overlay/MainMenu/MainMenuView.xaml.cs:21)
Ui.Overlay.MainMenu.MainMenuView:.ctor () (at Assets/Scripts/Ui/Overlay/MainMenu/MainMenuView.xaml.cs:15)
(wrapper dynamic-method) object:lambda_method (System.Runtime.CompilerServices.Closure)
Noesis.Extend:CreateInstance (intptr,intptr) (at C:/UnityPackages/NoesisGUI-Unity-3.1.5-Indie/Runtime/API/Core/Extend.cs:5045)
Noesis.GUI:LoadXaml (System.IO.Stream,string) (at C:/UnityPackages/NoesisGUI-Unity-3.1.5-Indie/Runtime/API/Core/NoesisGUI.cs:274)
NoesisXaml:Load () (at C:/UnityPackages/NoesisGUI-Unity-3.1.5-Indie/Runtime/NoesisXaml.cs:17)
NoesisPostprocessor/<>c__DisplayClass1_1:<OnPostprocessAllAssets>b__0 () (at C:/UnityPackages/NoesisGUI-Unity-3.1.5-Indie/Editor/NoesisPostprocessor.cs:40)
UnityEditor.EditorApplication:Internal_CallUpdateFunctions ()
Other features from the extensions are working like text spacing.
Is there something I have to do for ShaderBrushes?
 
User avatar
jsantos
Site Admin
Posts: 4822
Joined: 20 Jan 2012, 17:18
Contact:

Re: ConicGradientBrushShader

09 Sep 2022, 13:29

That part of the application framework is not implemented in Unity. For now, you need to implement the shaders you need for your game following the BrushShaders and VideoEffect examples.

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 7 guests