2 Demonstrates how to cast an instance of Animatable to another type based on its SuperClassID
19 def descendants(node):
20 for c
in node.Children:
22 for d
in descendants(c):
33 sid = o.GetSuperClassID()
34 if sid
not in SuperIdTypes:
36 return SuperIdTypes[sid]._CastFrom(o)
39 cast = castObject(n.Object)