public void Clear(IWorld world)
 {
     if (!HandleHasDestroyed(world.Handle))
     {
         WorldInternals.Scene_Clear(GetPointerFromObj(world));
     }
 }
        public IActor CreateActor(IWorld world)
        {
            if (HandleHasDestroyed(world.Handle))
            {
                return(null);
            }
            IntPtr actorPtr = WorldInternals.Scene_CreateChild(GetPointerFromObj(world));

            return(TryBindReferenceHolder(actorPtr, (RootDriver.ActorDriver as ActorDriver).Wrap));
        }
        public IWorld Create(Root root)
        {
            IntPtr worldPtr = WorldInternals.Scene_Create(RootDriver.ContextPtr);

            return(TryBindReferenceHolder(worldPtr, Wrap));
        }