Author Topic: Attempting to place a UILabel in 3D space without dedicated 3D UI camera  (Read 2574 times)

skullthug

  • Newbie
  • *
  • Thank You
  • -Given: 7
  • -Receive: 0
  • Posts: 37
    • View Profile
Hi there.
I'm attempting to place a UILabel in the level, in 3D space (on a television panel in the environment). I can't seem to get the text to appear though unless it is child to the traditional 2D/3D camera hierarchy. These aren't necessarily HUD elements, so making a 3D camera dedicated to displaying them wouldn't be optimal, and I can't child the environment to the 3D (non-UI) camera I'm already using. Is there something I'm missing here on how to get this to work?

skullthug

  • Newbie
  • *
  • Thank You
  • -Given: 7
  • -Receive: 0
  • Posts: 37
    • View Profile
Re: Attempting to place a UILabel in 3D space without dedicated 3D UI camera
« Reply #1 on: November 21, 2013, 10:10:49 PM »
I think I figured it out. Looks like UIPanel is required on either the label or a parent object for rendering to occur.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Attempting to place a UILabel in 3D space without dedicated 3D UI camera
« Reply #2 on: November 22, 2013, 03:26:43 AM »
Yup, UIPanel is what draws widgets.

http://www.tasharen.com/forum/index.php?topic=6705.0