Commit 5364099fea5bf9e45fe5fcb17e3d5ec7fa02a7ae

Authored by David Steele
1 parent 4c735b1a

Removed AffectedByLighting APIs from MeshActor

Change-Id: Iaa00503aceb45e734511cf21ddee7297367d166d
examples/new-window/new-window-example.cpp
... ... @@ -195,7 +195,6 @@ void NewWindowController::CreateMeshActor()
195 195 meshActor.SetScale( 100.0f );
196 196 meshActor.SetParentOrigin( ParentOrigin::CENTER );
197 197 meshActor.SetPosition(Vector3( -150.0f, 200.0f, 0.0f ));
198   - meshActor.SetAffectedByLighting( false );
199 198 meshActor.SetName("MeshActor");
200 199 mContentLayer.Add( meshActor );
201 200  
... ... @@ -206,7 +205,6 @@ void NewWindowController::CreateMeshActor()
206 205 meshActor2.SetScale( 100.0f );
207 206 meshActor2.SetParentOrigin( ParentOrigin::CENTER );
208 207 meshActor2.SetPosition(Vector3( -150.0f, 310.0f, 0.0f ));
209   - meshActor2.SetAffectedByLighting( false );
210 208 meshActor2.SetName("MeshActor");
211 209 mContentLayer.Add( meshActor2 );
212 210 }
... ...
examples/radial-menu/radial-sweep-view-impl.cpp
... ... @@ -352,7 +352,6 @@ void RadialSweepViewImpl::CreateStencil( Degree initialSector )
352 352 mMesh[0].SetPosition( Vector3( 0.0f, 0.0f, 0.0f ) ); // Center pt
353 353  
354 354 mStencilActor = MeshActor::New(mMesh);
355   - mStencilActor.SetAffectedByLighting(false);
356 355 mStencilActor.SetCullFace(CullNone); // Allow clockwise & anticlockwise faces
357 356  
358 357 mStartAngleIndex = mStencilActor.RegisterProperty("start-angle", Property::Value(0.0f));
... ...
examples/refraction-effect/refraction-effect-example.cpp
... ... @@ -501,7 +501,6 @@ private:
501 501 meshData.SetHasNormals(true);
502 502 mMeshActor = MeshActor::New( Mesh::New( meshData ) );
503 503 mMeshActor.SetParentOrigin(ParentOrigin::CENTER);
504   - mMeshActor.SetAffectedByLighting( false );
505 504 mMeshActor.SetShaderEffect( mNoEffect );
506 505 mContent.Add( mMeshActor );
507 506 }
... ...