You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: move_gizmo.rs
    path of file: ./repos/Fyrox/editor/src/interaction/gizmo
    
    the code of the file until where you have to start completion: use crate::{
    interaction::plane::PlaneKind,
    make_color_material,
    scene::{GameScene, Selection},
    set_mesh_diffuse_color, Engine,
};
use fyrox::graph::BaseSceneGraph;
use fyrox::{
    core::{
        algebra::{Matrix4, UnitQuaternion, Vector2, Vector3},
        color::Color,
        math::Matrix4Ext,
        pool::Handle,
    },
    scene::{
        base::BaseBuilder,
        graph::Graph,
        mesh::{
            surface::{SurfaceBuilder, Surfa
    
    pub fn sync_transform(&self, scene: &mut Scene, selection: &Selection, scale: Vector3<f32>) {
        let graph = &mut scene.graph;
        if let Some(selection) = selection.as_graph() {
            if let Some((rotation, position)) = selection.global_rotation_position(graph) {
                let node = &mut graph[self.origin];
                node.set_visibility(true);
                node.local_transform_mut()
                    .set_rotation(rotation)
                    .set_position(position)
                    .set_scale(scale);
            }
        }
    }