Jump to content

[SOLVED] casting ::cast(node) missing in 2.12


photo

Recommended Posts

Posted
hey,
I used older versions of Unigine.
When switching to 2.12 I have a problem with casting.
 
Unigine::NodePtr nodePtr = ...,
ObjectMeshSkinnedPtr skinnedPtr = =  ObjectMeshSkinned::cast(nodePtr);
 
Is there a single way to do this?
 
thanks
Posted

Hello Michal,

API changed from 2.10 to 2.12:
https://developer.unigine.com/en/docs/2.10/migration/migration_api?rlang=cpp#cpp_ptr_casting

Best regards

  • Like 1
  • silent changed the title to [SOLVED] casting ::cast(node) missing in 2.12
×
×
  • Create New...