SoDirectVizManagerSetCacheFile Method (String, SoDirectVizManagerCacheModes) |
Specifies cache file as an absolute path name.
Namespace: OIV.DirectVizAssembly: OIV.DirectViz (in OIV.DirectViz.dll) Version: 9.9.36.0 (9.9.36.0)
Syntaxpublic void SetCacheFile(
string file,
SoDirectVizManagerCacheModes mode
)
Public Sub SetCacheFile (
file As String,
mode As SoDirectVizManagerCacheModes
)
public:
void SetCacheFile(
String^ file,
SoDirectVizManagerCacheModes mode
)
member SetCacheFile :
file : string *
mode : SoDirectVizManagerCacheModes -> unit
Parameters
- file
- Type: SystemString
- mode
- Type: OIV.DirectVizSoDirectVizManagerCacheModes
Remarks
Cache files can be used for either reading or writing depending on mode:
READ_WRITE_MODE (default): the file is used for both reading and writing.
READ_MODE: the file is only used for reading. The file will not be erased when a cache is written.
WRITE_MODE: the file is only used for writing.
See Also