Search found 250 matches

  • 1
  • 2
  • 3
  • 4
  • 5
  • 25
by stonstad
14 Dec 2024, 16:33
Forum: General Discussion
Replies: 4
Views: 3515

Re: RichText.SetText()

This seems like user error on my part. If I have two fonts that specify the same font family, but different weight, is Noesis able to switch between them when bold font weight is selected?

Image

Image
by stonstad
09 Dec 2024, 18:21
Forum: General Discussion
Replies: 4
Views: 3515

Re: RichText.SetText()

Should this be working, or is there no programmatic API surface area?

Thanks,
Shaun
by stonstad
06 Dec 2024, 20:49
Forum: General Discussion
Replies: 4
Views: 3515

RichText.SetText()

I'm trying to use the RichText extension in code. Could you please advise of the correct approach and/or update the documentation? https://www.noesisengine.com/docs/App.ApplicationLauncher._RichText.html TextBlock a = new TextBlock(); RichText.SetText(a, "[b]Hello[/b] World"); Thank you!
by stonstad
07 Nov 2024, 17:21
Forum: General Discussion
Replies: 3
Views: 8483

Re: DataTemplate Shared State

Confirmed that it works! Thank you for the improved data binding solution!
by stonstad
02 Nov 2024, 19:42
Forum: General Discussion
Replies: 3
Views: 8483

Re: DataTemplate Shared State

Databinding approach: <DataTemplate x:Key="example_svg"> <Viewbox> <Canvas Width="160" Height="160"> <Canvas> <Path Fill="{Binding DataContext.Fill, RelativeSource={RelativeSource AncestorType=ContentControl}, FallbackValue=#ffffff}" Data="..." /> </...
by stonstad
30 Oct 2024, 17:39
Forum: General Discussion
Replies: 3
Views: 8483

DataTemplate Shared State

I have a newbie question that I'm unable to answer despite my best efforts. I am storing SVG geometry in a resource dictionary using DataTemplate. <DataTemplate x:Key="chair_svg"> <Viewbox> <Canvas Width="160" Height="160"> <Path Fill="#ffffff" Data="M55....
by stonstad
26 Jul 2024, 20:22
Forum: General Discussion
Replies: 1
Views: 1940

Is this a Bug? Adding DropShadow Fixes Layout in WorldSpaceUI Instance

I am drawing a UserControl within a NoesisWorldSpaceUI instance. My rendering looks fine as long as I have a drop shadow effect applied to a top-level element. Without a drop shadow it looks like a scaling or resolution issue occurs. What might cause this behavior? Is it a bug? XAML <Viewbox> <Stack...
by stonstad
18 Jul 2024, 23:35
Forum: General Discussion
Replies: 1
Views: 1437

Techniques for Integrating World Space UI w/ 3D

I have been using Noesis World Space UI for scenarios which combine 2D and 3D. The World Space UI is either in a fixed 3D position or shown via billboarding. I saw this screenshot the other day, and I was curious if anyone has thoughts on how they might be integrating Noesis 2D line drawing with 3D ...
by stonstad
15 Jul 2024, 14:09
Forum: General Discussion
Replies: 1
Views: 1165

Path GeometryCombineMode Supported?

Is Path GeometryCombineMode supported?

MSDN: https://learn.microsoft.com/en-us/dotne ... esktop-8.0
XAMLToy: https://www.noesisengine.com/xamltoy/

Thanks!
by stonstad
11 Dec 2023, 22:13
Forum: General Discussion
Replies: 2
Views: 3988

Re: NoesisWorldUI Repeated Instantiation on Game Object Enable

Confirmed -- void OnEnable() { FindContainer(); LoadContent(); AddContent(); } void OnDisable() { RemoveContent(); _content = null; _transform = null; _containerPanel = null; _camera = null; } This isn't the correct behavior for Unity. In Unity, disabling a game object within the hierarchy should no...
  • 1
  • 2
  • 3
  • 4
  • 5
  • 25