working paralax (not for zoom)

This commit is contained in:
Jeena 2014-11-15 23:28:03 +01:00
parent 357ef181d9
commit 85867f92af
10 changed files with 117 additions and 15 deletions

View file

@ -80,14 +80,19 @@ function (Parent, Settings, Nc) {
pivot: {
x: mesh.texture.width / 2,
y: mesh.texture.height / 2
}
},
xScale: 1,
yScale: 1
});
}
Nc.trigger(Nc.ns.client.view.mesh.create,
options.layerId,
texturePath,
callback
callback,
{
alpha: options.opacity
}
);
}