Announcement

Collapse
No announcement yet.

Using plugin references in user attributes

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Using plugin references in user attributes

    Hi guys, I have a question here from one of our developers:

    "When using the TexUserColor/TexUserInteger/TexUserScalar trio to define user interface, we can easily override their values using the user_attributes in a Node plugin.

    Inside a vrscene, this is the syntax to replace a color value:
    user_attributes="userColorTest=0.029, 0.325, 0.0063, 1;";

    But let's say I would like to use another plugin instead of just a color. The type of a TexUserColor is Texture, so would it be possible to set another plugin in there, like a TexBitmap for example?

    I tried variations of the following syntax:
    user_attributes="userColorTest=MyTexBitmapPluginNa me;";

    But no success. Is there a way to specify a plugin for those user defined attributes?"

  • #2
    Hi, currently user attributes only support int, float, color/vector and string values. Plugin references are not supported.
    Nikola Goranov
    Chaos Developer

    Comment

    Working...
    X