handlefromobject
handletoobject
but be aware that those commands will have a serious performance impact.
you better find a way around that casting by storing the handle in the entity class you are using instead of dynamic casting it!
handletoobject
but be aware that those commands will have a serious performance impact.
you better find a way around that casting by storing the handle in the entity class you are using instead of dynamic casting it!