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