Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
maxscript [2019/09/20 10:53]
mike [Corona Rendering Core]
maxscript [2020/02/05 15:20] (current)
mike [Corona Scatter API]
Line 80: Line 80:
  
 ^Function ^Parameters ^description ^ ^Function ^Parameters ^description ^
-| ''​getVersionNumber''​ | | Returns current plugin version encoded as a single comparable 64-bit integer version number. Version numbers returned in earlier builds are always lower than version numbers ​returned in later builds. |+| ''​getVersionNumber''​ | | Returns current plugin version encoded as a single comparable 64-bit integer version number. Version numbers returned in earlier builds are always lower than those returned in later builds. Added in version 5. | 
 +| ''​getVersionString''​ | | Returns current plugin version formatted as a human-readable string. It is suitable to be presented to the user. Added in version 6. |
 ====== Example scripts ====== ====== Example scripts ======
  
Line 95: Line 96:
 <​code>​CoronaRenderer.CoronaFp.dumpVfb "​D:/​yourfilename.cxr"</​code>​ - dumps the current content of the VFB to the specified CXR file.\\ ​ <​code>​CoronaRenderer.CoronaFp.dumpVfb "​D:/​yourfilename.cxr"</​code>​ - dumps the current content of the VFB to the specified CXR file.\\ ​
 \\ \\
 +<​code>​CProxy.ProxyFp.fromScene (CProxy()) $Teapot001 @"​C:​\proxy\myproxy.cgeo"</​code>​ - converts Teapot001 into a proxy and saves it as C:​\proxy\myproxy.cgeo \\ 
 +\\ 
 +<​code>​CProxy.ProxyFp.duplicateToMesh ​ $my_proxy</​code>​ - converts my_proxy back to mesh.\\ 
 +\\

Log In