Skip to content
TextureProvider

OnlineImageTextureProvider

var frame = MatrixFrame.Identity;
var cx = x + frame.origin.x;
var cy = y + frame.origin.y;
var cz = z + frame.origin.z;
Vec3 position = new Vec3(cx, cy, cz);
Mat3 rotation = frame.rotation;
MatrixFrame matrix = new MatrixFrame(rotation,position);
modelTableau.Initialize();
GameEntity entity = GameEntity.Instantiate(modelTableau.TableauScene, "ship_a", matrix);
modelTableau.SetModel(entity);
modelTableau.SetTargetSize(400,800);

image.png
Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
CtrlP
) instead.