Open epicEaston197 opened 2 weeks ago
Can you please clarify what you are trying to do with your request, @epicEaston197? Why do you need to directly access the URL of an asset? You can already use the AssetFrameSlot
component to directly send the asset to other components as-needed. E.g. the Clip
of an AudioClipPlayer
as an example.
Can you please clarify what you are trying to do with your request, @epicEaston197? Why do you need to directly access the URL of an asset? You can already use the
AssetFrameSlot
component to directly send the asset to other components as-needed. E.g. theClip
of anAudioClipPlayer
as an example.
Due to not having component access I need to be able to read the url of the asset to write it to a template that I have control over and use things like dynamic variables to access fields I would normally not be able to for image editing Plus it's just useful
You might also need to do this to be able to read texture data from an image These are just a few examples
Having access to the asset url would be very useful
You don't actually have to fully ref-hack to get the Uri, i did this myself when making a texture editor for a moontail but and the code I used is here on the discord
The ability to directly read the Uri is still very useful for making dynamic textures and such
You don't actually have to fully ref-hack to get the Uri, i did this myself when making a texture editor for a moontail but and the code I used is here on the discord
The ability to directly read the Uri is still very useful for making dynamic textures and such
resrec:///U-3x1t-5tyl3/R-98d96430-c3d5-4569-be49-2c7ee80bef25
When using the texture in a sprite oyu can dynamically get the asset's url. Example above should help and is available in my folder. Though it is not a direct way. It is so far the least broken way and requires only a few components, a cast driver and source and the rest how you plug the texture in is up to you. Though I wanna point out it's an imperfect solution.
Is your feature request related to a problem? Please describe.
It's really hard to get a URL of let's say a texture When you're not directly referencing either the texture or the URL input itself
Describe the solution you'd like
I would like there to be a url field on the asset frame slot component
Describe alternatives you've considered
As people have referenced in the replies here there are ways of doing this but it isn't perfect I am requesting a standardized way of being able to get a url from a asset frame
Additional Context
No response
Requesters
@epicEaston197