Hey guys ,
I created a plane :
_scene = new Scene();
_scene.CreateComponent();
var planeNode = _scene.CreateChild(“Plane”);
planeNode.Scale = new Vector3(500.0f, 1.0f, 500.0f);
I have an image 500px*500px which i set on the plane :
planeObject.SetMaterial(Material.FromImage(“staticmap.png”));
However , it seems the 1.0f is not equal to 1px of the image . (I wanted the plane and the image to have the same size or ratio - e.g : 1px of the image = 1.0f of the plane)
Is there any way to do that ?
and how much is 1.0f of Vector compared to 1px ?