What I mean is:
Code: Select all
SceneNode[] children = smgr.RootSceneNode;
foreach (SceneNode child in children)
if (child.SceneNodeType.ToString.Equals("Mesh"))
{
AnimatedMeshSceneNode mesh = (AnimatedMeshSceneNode)child;
}
Code: Select all
SceneNode[] children = smgr.RootSceneNode;
foreach (SceneNode child in children)
if (child.SceneNodeType.ToString.Equals("Mesh"))
{
AnimatedMeshSceneNode mesh = (AnimatedMeshSceneNode)child;
}