public HumanController()
        {
            TargetLabel = Engine.Singleton.Labeler.NewTextLabel3D("Primitive", 0.04f, new ColourValue(0.7f, 0.4f, 0), new ColourValue(1, 1.0f, 0.6f), 0);

            HUD = new HUD();
            Gravity = true;

            ActualAxis = GrabOrRotateAxis.X;
        }
Ejemplo n.º 2
0
        public TextLabel3D NewTextLabel3D(
            String fontName, float fontSize, ColourValue colourtop, ColourValue colourbottom, int layer)
        {
            TextLabel3D textLabel = new TextLabel3D(
              GetUniqueLabelName(), fontName, fontSize, colourtop, colourbottom);

            Panels[layer].AddChild(textLabel.TextArea);
            Labels.Add(textLabel);

            return textLabel;
        }