Learn R Programming

LumReader (version 0.1.0)

import_Material: Function to import a Material

Description

This function import the properties of a Material previously saved in a .Material file.

Usage

import_Material(file.name)

Arguments

file.name
character name of the .FLT file containing the Material properties.

Value

The function creates a new Material object.

Examples

Run this code
folder <- system.file("extdata", package="LumReader")

file.name <- 'example' # !!! no extension !!! #

file <-paste(folder, '/', file.name, sep="")

example <- import_Material(file)

plot_Material(example)

Run the code above in your browser using DataLab