device_new: Create a new 3d device window.

View source: R/devices.R

device_newR Documentation

Create a new 3d device window.

Description

Function creates a new window with options for background color, size, camera angles, field of view angle, and zoom.

Usage

device_new(
  bgrd_color = "white",
  width = 640,
  height = 640,
  vp_theta = 0,
  vp_phi = 15,
  vp_fov = 60,
  vp_zoom = 1
)

Arguments

bgrd_color

The String background color of the window. Default is "white".

width

The integer width of the window in pixels. The default is 640.

height

The integer height of the window in pixels. The default is 640.

vp_theta

The rotation of the camera. The default is 0.

vp_phi

The rotation of the camera. The default is 15.

vp_fov

The field of view angle. The default is 60.

vp_zoom

The degree of zoom for the camera. The default is 1.

Value

The newly created integer id for the device window.


deandevl/RmatrixPkg documentation built on March 11, 2023, 2:39 a.m.