It looks like you're new here. If you want to get involved, click one of these buttons!
I would like to retrieve an Object by its uid(), similar to Unity's InstanceIDToObject. Is there a way?
There are cases when uids can be preferable to Object pointers. For example, I need to pass data to Python and back, and noticed Python chokes when the objects are big (maybe RTVals are cumbersome for this?). Instead I could give Python a uid (for example to hook in a UI etc), and retrieve the object when Python calls back.
It looks to me like uids are assigned in sequence regardless of the type, which makes me think that there's a master "smart pointer" map somewhere that could make this possible...?
R&D Developer at Dwarf Animation Studio
©Copyright 2017 Fabric Software Inc. All rights reserved. | Privacy