Example #1
0
        public void Update(bool convertImagesToDds)
        {
            var colliderUpdater = new ColliderUpdater(gltf, colliders);

            colliderUpdater.UpdateColliders();

            if (convertImagesToDds)
            {
                var texConverter = new TextureConverter(gltfPath, gltf);
                texConverter.ConvertImagesToDds();
            }

            gltf.SaveModel(gltfPath);
        }