Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement a way to get the name of a reference #2201

Open
Fukuro99 opened this issue Jun 1, 2024 · 5 comments
Open

Implement a way to get the name of a reference #2201

Fukuro99 opened this issue Jun 1, 2024 · 5 comments
Labels
New Feature A new addition, whose complexity hasn't been evaluated yet

Comments

@Fukuro99
Copy link

Fukuro99 commented Jun 1, 2024

Is your feature request related to a problem? Please describe.

When I tried to create an item that controls blendshapes (such as a facial expression changer), I ran into a problem where the blendshape name couldn't be obtained automatically. I came up with a solution, but it was very complicated and not recommended (ref hacking).

As far as I know, there is no easy way to get the blendshape name in resonite, so I would be very happy if you could add it.

Describe the solution you'd like

This would be implemented in either a component or a Flux node.
For a component, you input a reference to the blendshape and drive in the name.
For a Flux node, it's a simple node that takes a reference to the blendshape and returns the name.
A component is better for my use case.

Describe alternatives you've considered

I type it in manually; I don't want to take the deprecated approach.

Additional Context

No response

Requesters

Resonite:fukuro
Discord:fukuro8232

@Fukuro99 Fukuro99 added the New Feature A new addition, whose complexity hasn't been evaluated yet label Jun 1, 2024
@shiftyscales
Copy link
Collaborator

This functionality is blocked by the need for collections #572.

@shiftyscales shiftyscales removed their assignment Jun 3, 2024
@Fukuro99
Copy link
Author

Fukuro99 commented Jun 4, 2024

Sorry, I may not have conveyed my intent well.
What I want is the name part of "name(ID)" that appears when I grab the value in the inspector.
I doubt you will need a collection to achieve this functionality
I'm going to change the title because this is not just about blendshapes.

@Fukuro99 Fukuro99 changed the title Implement a way to get blendshape names Implement a way to get the name of a reference Jun 4, 2024
@shiftyscales
Copy link
Collaborator

If you read through the linked issue- even if it's just to access elements from a list- it would still be required, @Fukuro99.

@art0007i
Copy link

art0007i commented Jun 4, 2024

@shiftyscales the post never mentions anything related to collections at all. they simply want a component/node that returns the name of any given reference. actually a component that kind of does this is RefEditor, it will take a reference an output a string like "{name] on {slot}" and this request is looking a more specific and better way to get only that name part

@Fukuro99
Copy link
Author

Fukuro99 commented Jun 6, 2024

I was able to get the name using the RefEditor method suggested by @art0007i (analyzing the button display). I'm grateful for the information.
However, this method is complicated, so I hope that an easier way to get the name will be implemented.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
New Feature A new addition, whose complexity hasn't been evaluated yet
Projects
None yet
Development

No branches or pull requests

3 participants