Search found 72 matches

  • 1
  • 2
  • 3
  • 4
  • 5
  • 8
by elecman
17 Nov 2017, 23:46
Forum: General Discussion
Topic: Noesis Unity on WebGL
Replies: 9
Views: 701

Re: Noesis Unity on WebGL

Looking at this Unity blog post, I don't see a reason why you can't use a native C++ plugin in WebGL:
https://blogs.unity3d.com/2017/01/19/lo ... ity-webgl/
by elecman
16 Nov 2017, 23:25
Forum: General Discussion
Topic: [Unity] Replace xaml at runtime
Replies: 6
Views: 135

Re: Replace xaml at runtime

Thanks, that did the trick :-)
by elecman
16 Nov 2017, 13:37
Forum: General Discussion
Topic: [Unity] Replace xaml at runtime
Replies: 6
Views: 135

Re: Replace xaml at runtime

One other question, when I add some xaml code from another xaml file using the code below, I get this error message: NoesisException: Child already has a logical parent NoesisView panel = GetComponent<NoesisView>(); Noesis.Canvas loadedCanvas = (Noesis.Canvas)Noesis.GUI.LoadXaml("Assets/file1.xaml")...
by elecman
16 Nov 2017, 13:35
Forum: General Discussion
Topic: [Unity] Replace xaml at runtime
Replies: 6
Views: 135

Re: Replace xaml at runtime

Thanks. Referencing the xaml from a script by drag and dropping it on the inspector works: //Drag and drop on the inspector here public NoesisXaml xaml; NoesisView panel = GetComponent<NoesisView>(); panel.Xaml = xaml; panel.LoadXaml(true); This also works: NoesisView panel = GetComponent<NoesisView...
by elecman
16 Nov 2017, 06:28
Forum: General Discussion
Topic: Noesis Unity on WebGL
Replies: 9
Views: 701

Re: Noesis Unity on WebGL

What is the technological problem with WebGL anyway?
by elecman
15 Nov 2017, 23:13
Forum: General Discussion
Topic: [Unity] Replace xaml at runtime
Replies: 6
Views: 135

[Unity] Replace xaml at runtime

I want to replace an xaml file at runtime but I can't get it to work. A few things I have tried: NoesisView panel = GetComponent<NoesisView>(); Noesis.Canvas loadedCanvas = (Noesis.Canvas)Noesis.GUI.LoadXaml("Assets/file1.xaml"); Noesis.Canvas newRoot = (Noesis.Canvas)loadedCanvas.FindName("layer1")...
by elecman
12 Nov 2017, 13:05
Forum: General Discussion
Topic: Noesis Unity on WebGL
Replies: 9
Views: 701

Re: Noesis Unity on WebGL

1+ for this.
by elecman
03 Nov 2017, 13:28
Forum: General Discussion
Topic: Cloning a path
Replies: 2
Views: 88

Re: Cloning a path

Ok, thanks.
by elecman
01 Nov 2017, 14:04
Forum: Showcase Gallery
Topic: Electronic Aircraft display (EFIS)
Replies: 2
Views: 203

Electronic Aircraft display (EFIS)

I made a Primary Flight Display (PFD) for an A320. https://bitbarrelmedia.files.wordpress.com/2017/11/after-start.jpg https://bitbarrelmedia.files.wordpress.com/2017/11/pfd-day.jpg?w=1008 https://bitbarrelmedia.files.wordpress.com/2017/11/pfd-night.jpg?w=1008 Here is my blog post on the making of: h...
by elecman
01 Nov 2017, 13:34
Forum: General Discussion
Topic: Cloning a path
Replies: 2
Views: 88

Cloning a path

What is the best way to clone a path, including all properties, and insert it just below the original (not as a child)? I can copy the data string and copy the properties one by one but I noticed that there is a Clone function available in NoesisGUI C# which unfortunately goes undocumented.
  • 1
  • 2
  • 3
  • 4
  • 5
  • 8