- blue.SetProperty( Actor::Property::DRAW_MODE, DrawMode::OVERLAY_2D );
- blue.SetProperty( Actor::Property::NAME, "Blue" );
- blue.SetProperty( Actor::Property::ANCHOR_POINT, AnchorPoint::CENTER );
- blue.SetProperty( Actor::Property::PARENT_ORIGIN, Vector3(1.0f/3.0f, 1.0f/3.0f, 0.5f) );
- blue.SetProperty( Actor::Property::SIZE, actorSize );
- blue.SetProperty( Actor::Property::POSITION_Z, 30.0f);
-
- Actor green = Actor::New( );
- green.SetProperty( Actor::Property::NAME, "Green" );
- green.SetProperty( Actor::Property::ANCHOR_POINT, AnchorPoint::CENTER );
- green.SetProperty( Actor::Property::PARENT_ORIGIN, Vector3(2.0f/3.0f, 2.0f/3.0f, 0.5f) );
- green.SetProperty( Actor::Property::SIZE, actorSize );
+ blue.SetProperty(Actor::Property::DRAW_MODE, DrawMode::OVERLAY_2D);
+ blue.SetProperty(Actor::Property::NAME, "Blue");
+ blue.SetProperty(Actor::Property::ANCHOR_POINT, AnchorPoint::CENTER);
+ blue.SetProperty(Actor::Property::PARENT_ORIGIN, Vector3(1.0f / 3.0f, 1.0f / 3.0f, 0.5f));
+ blue.SetProperty(Actor::Property::SIZE, actorSize);
+ blue.SetProperty(Actor::Property::POSITION_Z, 30.0f);
+
+ Actor green = Actor::New();
+ green.SetProperty(Actor::Property::NAME, "Green");
+ green.SetProperty(Actor::Property::ANCHOR_POINT, AnchorPoint::CENTER);
+ green.SetProperty(Actor::Property::PARENT_ORIGIN, Vector3(2.0f / 3.0f, 2.0f / 3.0f, 0.5f));
+ green.SetProperty(Actor::Property::SIZE, actorSize);