material3js.Rd
Arguments refer to different material properties for an object, many of which refer directly to properties as described in the 'threejs' documentation
material3js(
mat = "phong",
col = "black",
fill = "black",
opacity = NULL,
xpd = TRUE,
lwd = 1,
dashSize = NULL,
gapSize = NULL,
interactive = NULL,
label = NULL,
toggle = NULL,
depthWrite = NULL,
depthTest = NULL,
polygonOffset = NULL,
polygonOffsetFactor = NULL,
polygonOffsetUnits = NULL,
shininess = 30,
faces = NULL,
corners = NULL,
rotation = NULL,
normalise = NULL,
poffset = NULL,
clippingPlanes = NULL,
frontSide = TRUE,
backSide = TRUE,
renderOrder = NULL,
...
)
Material to use for the object, one of "basic", "lambert", "phong" or "line", see e.g. MeshBasicMaterial
Color
Fill color
Opacity
Should parts of the object outside the plot limits be shown
Line width
Dash size for dashed lines
Gap size for dashed lines
Is the object interactive
The label for the object
Toggle button associated with the object
See depthWrite
See depthTest
See polygonOffset
Shininess of object surface
For dynamically hidden objects, the face with which it is associated, see details.
For dynamically hidden objects, the corners with which it is associated, see details.
In place rotation of the object geometry (most relevant for points)
Should coordinates be normalised to be with respect to axis ranges or placed according to the plotting box which has unit coordinates.
Positional offset, the offset is relative to the plotting area size rather than axis limits
Clipping planes to apply to the object
Logical indicating whether the front side of a mesh should be rendered
Logical indicating whether the back side of a mesh should be rendered
See renderOrder
Additional arguments (not used)
Returns a list of material properties