Show Light text in shadow-bone-lighting example 70/38070/1
authorPaul Wisbey <p.wisbey@samsung.com>
Fri, 10 Apr 2015 12:36:43 +0000 (13:36 +0100)
committerPaul Wisbey <p.wisbey@samsung.com>
Fri, 10 Apr 2015 12:36:43 +0000 (13:36 +0100)
Change-Id: I0250ce6fedcc6948aa6b4418bb13b5f742a2d960

examples/shadow-bone-lighting/shadow-bone-lighting-example.cpp

index 9ddadcbb2be22259be79fa49e010584a343bad57..99fffb70e797f592bd94e92615040c53912ed4c2 100644 (file)
@@ -233,6 +233,9 @@ public:
     mCastingLight.SetPosition( Vector3( 0.0f, 0.0f, 800.0f ) * scaleFactor );
 
     TextLabel text = TextLabel::New( "Light" );
+    text.SetProperty( TextLabel::Property::POINT_SIZE, 20.0f );
+    text.SetResizePolicy( USE_NATURAL_SIZE, WIDTH );
+    text.SetResizePolicy( USE_NATURAL_SIZE, HEIGHT );
     text.SetColor( Color::BLUE );
 
     mCastingLight.Add(text);