Ejemplo n.º 1
0
    SplatPrototype BlueprintToSplatPrototype(TerrainTextureBlueprint blueprint)
    {
        SplatPrototype prototype = new SplatPrototype();

        prototype.texture    = blueprint.albedo;
        prototype.normalMap  = blueprint.normal;
        prototype.metallic   = blueprint.metalic;
        prototype.tileSize   = blueprint.size;
        prototype.tileOffset = blueprint.offset;

        return(prototype);
    }
Ejemplo n.º 2
0
    SplatPrototype BlueprintToSplatPrototype(TerrainTextureBlueprint blueprint)
    {
        SplatPrototype prototype = new SplatPrototype();
        prototype.texture = blueprint.albedo;
        prototype.normalMap = blueprint.normal;
        prototype.metallic = blueprint.metalic;
        prototype.tileSize = blueprint.size;
        prototype.tileOffset = blueprint.offset;

        return prototype;
    }