vrgetPref.
价值观金宝app3D动画优先
句法
x = vrgetpref x = vrgetpref('preference_name
')x = vrgetpref('preference_name
','工厂')x = vrgetpref('factory')
Arguments
|
Name of the preference to read. |
Description
x = vrgetpref.
returns the values of all the金宝app®3D动画™优先in a structure array.
x = vrgetpref('
返回指定首选项的值。如果preference_name
')preference_name
是一个小区阵列的偏好名称,返回相应的偏好值的小区阵列。
x = vrgetpref(
返回指定首选项的默认值。'preference_name
','factory')
x = vrgetpref('factory')
returns the default values for all the preferences.
这following preferences are defined. For preferences that begin with the string默认Figure
or默认World
,这些值是相应的默认值vrfigure.
orvrworld.
property:
偏好 | Description |
---|---|
|
打开虚拟世界时创建一个虚拟世界的缩略图。默认为 |
|
Specifies the handling of the virtual world |
|
指定虚拟世界的处理 |
|
Specifies the handling of the virtual world |
|
Controls the appearance of the control panel in the
默认: |
|
Specifies default units for new |
|
指定视图窗格中的鼠标是否处于导航模式或选择模式(用于在树视图窗格中突出显示对应的节点)。默认为 |
|
Specifies whether to highlight virtual world objects selected in the view pane. The default is |
|
确定默认情况下是否使用抗拉利叠加 |
|
Specifies default file name for |
|
Specifies the default callback invoked when closing a |
|
Specifies whether the lights are rendered by default for new |
|
Specifies the default maximum size of a texture used in rendering new |
|
Specifies the default appearance of the control panel in the viewer. Valid values are |
|
指定是否打开或关闭导航区by default for new |
|
Sets the default initial position and size of theSimulink 3D AnimationViewer window. Valid value is a vector of four doubles. |
|
Specifies the default compression method for creating 2-D animation files for new |
|
指定新的2-D动画文件压缩的默认质量 |
|
指定新的默认2-D脱机动画文件名 |
|
Specifies the default frames per second playback speed. 要将2D AVI动画播放回到与3D虚拟世界动画大致相同的播放速度效果,请将此优先设置为 |
|
Specifies whether to render a |
|
指定默认情况下是否出现状态栏在底部默认出现Simulink 3D AnimationViewer for new |
|
指定默认情况下是否应呈现纹理 |
|
指定默认情况下是否出现工具栏Simulink 3D AnimationViewer for new |
|
指定在呈现新的时是否考虑到透明度信息 |
|
指定是否默认为新的对象绘制为稳定性或线框 |
|
Specifies which viewer is used to view a virtual scene.
|
|
Specifies the default 3-D animation file name for new |
|
Specifies the default animation recording mode for new |
|
Specifies the default start and stop times for scheduled animation recording for new |
|
Specifies whether the virtual world is enabled by default for remote viewing for new |
|
Specifies the default source of the time for new |
|
Specifies which virtual world editor to use. Path to the virtual world editor. If this path is empty, the MATLAB®编辑器使用。 这path setting is active only if you select the 要在第三方编辑器中打开虚拟世界文件,请勿使用
|
|
Specifies whether the 3D World Editor starts up with a saved version of the layout of a virtual world when you exited it or reverts to the default layout. The layout of the virtual world display pane includes settings for the view, viewpoints, navigation, and rendering. Valid values are |
|
For remote access, IP port number used to access theSimulink 3D Animation通过HTTP在Web上服务器。如果更改此首选项,则必须在更改生效之前重新启动MATLAB软件。 |
|
对于远程访问,传输缓冲区的长度(网络数据包覆盖层)用于通信之间的通信Simulink 3D Animationserver and its clients. |
|
Amount of time theSimulink 3D Animationserver waits for a reply from the client. If there is no response from the client, theSimulink 3D Animationserver disconnects from the client. |
|
对于远程访问,IP端口用于通信之间的通信Simulink 3D Animationserver and its clients. If you change this preference, you must restart the MATLAB software before the change takes effect. |
这HttpPort
那vrport.
那andTransportBuffer
首选项影响虚拟世界的基于Web的远程查看。默认FigurePosition
anddefaultnavpanel.
affect theSimulink 3D AnimationViewer.
defaultfigurenavpanel.
— Controls the appearance of the navigation panel in theSimulink 3D AnimationViewer. For example, setting this value to'translucent'
causes the navigation panel to appear translucent.
默认Viewer
— Determines whether the virtual scene appears in the defaultSimulink 3D Animation查看器或您的Web浏览器。
默认Viewer Setting |
Description |
---|---|
|
默认Simulink 3D AnimationViewer. |
|
查看器是您的Web浏览器。 |
Editor
- 包含虚拟世界编辑器可执行文件的路径。当你使用的时候edit
command,Simulink 3D Animationruns the virtual world editor executable with all parameters required to edit the virtual world file.
When you run the editor,Simulink 3D Animationuses theEditor
preference value as if you typed it into a command line. The following tokens are interpreted:
|
是指MATLAB根文件夹 |
|
Refers to the virtual world file name |
For instance, a possible value for theEditor
preference is
`%matlabroot \ bin \ win64 \ medors.exe%文件'
如果this preference is empty, the MATLAB editor is used.
HttpPort
-- Specifies the network port to be used for Web access. The port is given in the Web URL as follows:
http://server.name:port_number
这default value of this preference is8123
。
TransportBuffer
- 定义客户端 - 服务器通信的消息窗口的大小。此值确定一次最大值的消息,可以在客户端和服务器之间旅行。
Generally, higher values for this preference make the animation run more smoothly, but with longer reaction times. (More messages in the line create a buffer that compensates for the unbalanced delays of the network transfer.)
这default value is5.
,大多数目的是最佳的。只有当动画显着扭曲或反应时间非常慢时,您应该只会更改此值。在快速连接上,通过客户端渲染速度介绍延迟的情况下,此值效果很小。在主计算机上查看相当于极其快速的连接。在慢速连接上,正确的值可以显着提高渲染速度,但当然,绝对最大值由最大连接吞吐量确定。
vrport.
— Specifies the network port to use for communication between theSimulink 3D Animationserver (host computer) and its clients (client computers). Normally, this communication is completely invisible to the user. However, if you view a virtual world from a client computer, you might need to configure the security network system (firewall) so that it allows connections on this port. The default value of this preference is8124
。