add some functionality to the skinnedmeshinstance class