mDefaultCamera.SetProperty( Actor::Property::ANCHOR_POINT, AnchorPoint::CENTER );
mDefaultCamera.SetType( type );
mDefaultCamera.SetNearClippingPlane( nearPlane );
- mDefaultCamera.SetPosition( cameraPosition );
+ mDefaultCamera.SetProperty( Actor::Property::POSITION, cameraPosition );
return true;
}
mRoot.SetProperty( Actor::Property::ANCHOR_POINT, AnchorPoint::CENTER );
Layer layer = Layer::New();
- layer.SetBehavior( Layer::LAYER_3D );
+ layer.SetProperty( Layer::Property::BEHAVIOR, Layer::LAYER_3D );
layer.SetProperty( Actor::Property::PARENT_ORIGIN, ParentOrigin::CENTER );
layer.SetProperty( Actor::Property::ANCHOR_POINT, AnchorPoint::CENTER );
layer.Add( mRoot );