Get/set property on non-component objects in the blackboard

Forums 💬 NodeCanvas 🗨️ General Discussion Get/set property on non-component objects in the blackboard

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #14479
    ancientbuho
    Participant

      I have an action that outputs uFrame ViewModel objects into the blackboard. I didn’t see any actions that let me get values out of its properties. I could create actions for each property do the object to get/set them, but that could get too cumbersome. Is there a way to get values from properties of objects in the blackboard?

      I’ve been thinking that supporting dot notation in Node input fields would be a nice way to do this, but that could be too much 🙂

      #14480
      Gavalakis
      Keymaster

        Hey,

        There is no action that can take a blackboard variable object and expose it’s properties right now. I can probably take a look at this and create some reflection based action that does this.

        Your idea of selecting BBParameters similar to dot notation is a nice one, but because this would take place with reflection it would be quite slow.

        Regardless, I will take a look at your requests and see what’s possible and what’s not. Can’t promise anything though especialy for the 2nd one 🙂

      Viewing 2 posts - 1 through 2 (of 2 total)
      • You must be logged in to reply to this topic.