Get Sample Filename from Sampler using custom Sample Maps.
-
Hey, I am dynamically loading Samples into the Sampler.
I would like to know which sample is currently loaded into that one sampler. Basically I would like to parse the same map.However when using custom sample import the SampleMap gets the id 'customJSON'. I was not able to find any API to get the currently loaded sample map.
I've tried to use the Sampler.getAttributes(Sampler.FileName) attribute, but it seems like this is not working for customJSON sample maps. Can someone help me out?
-
@oskarsh samesies. You explained it much better than I was able to in my post.
Are you using this from the CustomSampleImport tutorial?