- mContents.SetBehavior(Layer::LAYER_3D);
- mContents.SetPosition(mTranslation);
- mContents.SetOrientation( CalculateWorldRotation( mSceneXRotation, mSceneYRotation ) );
- mContents.SetScale(mPinchScale, mPinchScale, mPinchScale);
+ mContents.SetProperty( Layer::Property::BEHAVIOR, Layer::LAYER_3D );
+ mContents.SetProperty( Actor::Property::POSITION, mTranslation );
+ mContents.SetProperty( Actor::Property::ORIENTATION, CalculateWorldRotation( mSceneXRotation, mSceneYRotation ) );
+ mContents.SetProperty( Actor::Property::SCALE, Vector3( mPinchScale, mPinchScale, mPinchScale ) );