maxon.Cast

maxon.Cast(T, o)

Cast the object o to the type T.

Warning

This function is only there to expose a C++ Object to Python.
As a Python developer you normally don’t have to deal with this function.
Parameters
  • T (type) – The type to cast the object to.

  • o (maxon.Data) – The Initial object

Returns

The casted object

Return type

T