Пример #1
0
        public void Show(Scene scene)
        {
            if (Node != null)
            {
                return;
            }

            Node = new TextSceneNode(Text, 10, Vector3.Blue, new Vector3(-1), true);
            Node.SetTransform(Matrix4.makeTranslation(Position));
            Node.SetUserId(Id.GetInteger());
            Node.RequstUpdate();

            scene.AddNode(Node);
        }