- radioGroup.SetParentOrigin(ParentOrigin::TOP_LEFT);
- radioGroup.SetAnchorPoint(ParentOrigin::TOP_LEFT);
- radioGroup.SetPosition( 0.0f, 0.0f );
- radioGroup.SetSize( 400.0f, 400.0 );
+ radioGroup.SetProperty( Actor::Property::PARENT_ORIGIN,ParentOrigin::TOP_LEFT);
+ radioGroup.SetProperty( Actor::Property::ANCHOR_POINT,ParentOrigin::TOP_LEFT);
+ radioGroup.SetProperty( Actor::Property::POSITION, Vector2( 0.0f, 0.0f ));
+ radioGroup.SetProperty( Actor::Property::SIZE, Vector2( 400.0f, 400.0 ) );