mMeshActor.AddRenderer( mRenderer );
mMeshActor.SetSize(400, 400);
- Property::Index fadeColorIndex = mMeshActor.RegisterProperty( "uFadeColor", Color::GREEN );
-
- fadeColorIndex = mRenderer.RegisterProperty( "uFadeColor", Color::MAGENTA );
+ Property::Index fadeColorIndex = mRenderer.RegisterProperty( "uFadeColor", Color::MAGENTA );
mRenderer.SetDepthIndex(0);
mMeshActor.SetParentOrigin( ParentOrigin::TOP_CENTER );
mMeshActor2.SetSize(400, 400);
mMeshActor2.RegisterProperty( "a-n-other-property", Color::GREEN );
- Property::Index fadeColorIndex2 = mMeshActor2.RegisterProperty( "uFadeColor", Color::GREEN );
mRenderer2.RegisterProperty( "a-n-other-property", Vector3::ZERO );
mRenderer2.RegisterProperty( "a-coefficient", 0.008f );
- fadeColorIndex2 = mRenderer2.RegisterProperty( "uFadeColor", Color::BLUE );
+ Property::Index fadeColorIndex2 = mRenderer2.RegisterProperty( "uFadeColor", Color::BLUE );
mRenderer2.SetDepthIndex(0);
mMeshActor2.SetParentOrigin( ParentOrigin::BOTTOM_CENTER );