Esempio n. 1
0
        protected static bool DrawPreDelegate(GraphicsContext ctx, SceneGraphContext ctxScene, SceneObject sceneObject, object data)
        {
            // Update object before applying state
            sceneObject.UpdateThis(ctx, ctxScene);
            // Push and merge the graphics state
            ctxScene.GraphicsStateStack.Push(sceneObject.ObjectState);

            return(true);
        }
Esempio n. 2
0
        private static bool UpdateDelegate(GraphicsContext ctx, SceneGraphContext ctxScene, SceneObject sceneObject, object data)
        {
            sceneObject.UpdateThis(ctx, ctxScene);

            return(true);
        }