Removed AffectedByLighting APIs from MeshActor 18/36018/1
authorDavid Steele <david.steele@partner.samsung.com>
Fri, 27 Feb 2015 11:08:17 +0000 (11:08 +0000)
committerDavid Steele <david.steele@partner.samsung.com>
Fri, 27 Feb 2015 11:08:17 +0000 (11:08 +0000)
Change-Id: Iaa00503aceb45e734511cf21ddee7297367d166d

examples/new-window/new-window-example.cpp
examples/radial-menu/radial-sweep-view-impl.cpp
examples/refraction-effect/refraction-effect-example.cpp

index 2b96211b1b511427ca4db46a6466b569e3ffaaa8..c0642acd1e8ed066629c3b8600084cc3fbfe4f01 100644 (file)
@@ -195,7 +195,6 @@ void NewWindowController::CreateMeshActor()
   meshActor.SetScale( 100.0f );
   meshActor.SetParentOrigin( ParentOrigin::CENTER );
   meshActor.SetPosition(Vector3( -150.0f, 200.0f, 0.0f ));
-  meshActor.SetAffectedByLighting( false );
   meshActor.SetName("MeshActor");
   mContentLayer.Add( meshActor );
 
@@ -206,7 +205,6 @@ void NewWindowController::CreateMeshActor()
   meshActor2.SetScale( 100.0f );
   meshActor2.SetParentOrigin( ParentOrigin::CENTER );
   meshActor2.SetPosition(Vector3( -150.0f, 310.0f, 0.0f ));
-  meshActor2.SetAffectedByLighting( false );
   meshActor2.SetName("MeshActor");
   mContentLayer.Add( meshActor2 );
 }
index ac01fceb84e570eecb1ceab9c5d21b26cfd6a7d2..3e71da88c40cdf3cf02df44d2859bfa7f1de94b1 100644 (file)
@@ -352,7 +352,6 @@ void RadialSweepViewImpl::CreateStencil( Degree initialSector )
   mMesh[0].SetPosition( Vector3(  0.0f,  0.0f, 0.0f ) ); // Center pt
 
   mStencilActor = MeshActor::New(mMesh);
-  mStencilActor.SetAffectedByLighting(false);
   mStencilActor.SetCullFace(CullNone); // Allow clockwise & anticlockwise faces
 
   mStartAngleIndex = mStencilActor.RegisterProperty("start-angle", Property::Value(0.0f));
index 32d8a907675a366328aa14a2a4960e8542602e45..30284e661398258fe512dd9a471263f47f59a5bb 100644 (file)
@@ -501,7 +501,6 @@ private:
     meshData.SetHasNormals(true);
     mMeshActor = MeshActor::New( Mesh::New( meshData ) );
     mMeshActor.SetParentOrigin(ParentOrigin::CENTER);
-    mMeshActor.SetAffectedByLighting( false );
     mMeshActor.SetShaderEffect( mNoEffect );
     mContent.Add( mMeshActor );
   }