-
首页
-
C4D R23.110 C++ SDK
BatchRender 类参考
Library
»
批量渲染
#include <lib_batchrender.h>
详细描述
A class to access the Render Queue.
公共成员函数
|
Bool
|
Open
(void)
|
Bool
|
AddFile
(const
Filename
&File,
Int32
number)
|
Bool
|
DelFile
(const
Filename
&File)
|
Bool
|
IsRendering
()
|
void
|
SetRendering
(
Int32
set)
|
Bool
|
SetNetError
(
Int32
n, const
String
&machineName, const
String
&errorString,
Bool
isWarning)
|
Bool
|
SetNetError
(const
C4DUuid
&uuid, const
String
&machineName, const
String
&errorString,
Bool
isWarning)
|
Int32
|
GetElementCount
()
|
Filename
|
GetElement
(
Int32
n)
|
void
|
EnableElement
(
Int32
n,
Bool
bSet)
|
Bool
|
GetEnableElement
(
Int32
n)
|
Int32
|
GetElementStatus
(
Int32
n)
|
void
|
GetJsonJobs
(PyList *list)
|
BaseBitmap
*
|
GetFrameBitmap
(const
C4DUuid
&nodeUuid, const
C4DUuid
&frameUuid)
|
void
|
SetUseNet
(
Int32
n,
Bool
on)
|
构造函数 & 析构函数文档编制
◆
BatchRender()
◆
~BatchRender()
成员函数文档编制
◆
Open()
Opens the Render Queue window.
-
返回
-
true
if successful, otherwise
false
.
◆
AddFile()
Adds a
Cinema 4D
file to the Render Queue.
-
参数
-
[in]
|
File
|
The filename of the
Cinema 4D
file.
|
[in]
|
number
|
The position within the Render Queue. If this is greater than the current number of entries it will be added at the end of the list.
|
-
返回
-
true
if successful, otherwise
false
.
◆
DelFile()
Removes a
Cinema 4D
file from the Render Queue.
-
参数
-
[in]
|
File
|
The
Cinema 4D
file to be removed from the list.
|
-
返回
-
true
if successful, otherwise
false
.
◆
IsRendering()
Checks if the render Queue is rendering.
-
返回
-
true
if the render Queue is rendering, otherwise
false
.
◆
SetRendering()
void SetRendering
|
(
|
Int32
|
set
|
)
|
|
Sets the render status of the Render Queue.
-
参数
-
◆
SetNetError()
[1/2]
Private
.
◆
SetNetError()
[2/2]
Private
.
◆
GetElementCount()
Int32
GetElementCount
|
(
|
|
)
|
|
Retrieves the number of
Cinema 4D
scene files in the Render Queue.
-
返回
-
The number of
Cinema 4D
scene files.
◆
GetElement()
Retrieves the filename of the
Cinema 4D
scene file with the index
n
.
-
参数
-
-
返回
-
The filename of the
Cinema 4D
scene file.
◆
EnableElement()
Enables or disables the
Cinema 4D
scene file at the index
n
for rendering.
-
参数
-
[in]
|
n
|
The position within the Render Queue:
0
<
n
<
GetElementCount()
|
[in]
|
bSet
|
true
to enable the scene file for rendering,
false
to disable it.
|
◆
GetEnableElement()
Checks if a
Cinema 4D
scene file from the Render Queue is enabled for rendering.
-
参数
-
-
返回
-
true
if the scene file is enabled for rendering, otherwise
false
.
◆
GetElementStatus()
Retrieves the current status of the
Cinema 4D
scene file at the index
n
.
-
参数
-
-
返回
-
状态:
RM_RENDER
◆
GetJsonJobs()
void GetJsonJobs
|
(
|
PyList *
|
list
|
)
|
|
Private
.
◆
GetFrameBitmap()
Private
.
◆
SetUseNet()
Private
.