public static Model3D CreateModel(ModelData modelData) { Model3D model = new Model3D(); foreach (var mesh in modelData.Meshes) model.AddMesh(CreateModelMesh(mesh)); return model; }
public RawSceneObject(ModelData model, Matrix worldMatrix) { Model = model; WorldMatrix = worldMatrix; }