The Model constructor: Model(...) makes one (see new_model for its
arguments).
A model frame named name (decorations of color color), with the
model file file if given (see set_model).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in) | :: | name |
the frame's name |
||
| character(len=*), | intent(in), | optional | :: | file |
model file (3ds, obj, glTF, ...) |
|
| real(kind=wp), | intent(in), | optional | :: | color(:) |
[r, g, b] or [r, g, b, a] (0 to 1) |